Fatal error in launcher: Unable to create process using ‘"’
当我用cmd,输入pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow时,如下:
D:\python3.6.5\Scripts>pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow
遇到报错Fatal error in launcher: Unable to create process using ‘"’
原来是因为我的python安装的是32bit的,而我要安装的tensorflow只能安装在64bit的python里。于是我又安装了一个64bit的python(我并没有卸载原来的32bit的),安装时记得勾上自动配置环境变量的那个选项(那选项是啥我也忘了,大概就这么回事)。
这时要记得把新装的python下的python.exe和pythonw2.exe文件重新命名,比如分别命名为python.exe和pythonw2.exe
然后重新在cmd,输入pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow,如下:
D:\python3.6.5\Scripts>python2 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow
这里的python2是你将第二个python命的名。
在这个新装的python下,下载其他python包比如numpy,用以下格式(这里的python2是你将第二个python命的名)
python2 -m pip install ***