Fatal error in launcher: Unable to create process using '"c:\python27\python.exe" "C:\Python27\Scripts\pip2.exe" install lxml requests'
有时候在使用python的pip install安装东西是会出现这种提示报错
我是因为电脑中,同时安了python2.7和python3.6,添加环境变量后使用pip2或者pip3安装时也偶尔会报错的情况出现(说偶尔是因为有时候pip3可以安装成功)
解决方法:
直接使用下面命令安装即可 (根据要使用的python版本选择2还是3)
python2 -m pip install lxml requests
python3 -m pip install lxml requests
我这里是需要用到python2的程序。
安装完成。
尽情享用吧~
如果帮到你请给个三连,顶我上去,让更多人看到解决方法~谢谢