win10使用python2.7时,pip闪现怎么解决? Fatal error in launcher: Unable to create process using '"c:\python27\python.exe"
重新安装pip:
1.打开网址https://bootstrap.pypa.io
2.找到相应版本,找到并下载get-pip.py;(目前2.7版本get-pip.py改了路径:https://bootstrap.pypa.io/pip/2.7/get-pip.py)
3.本地cmd运行get-pip.py: python get-pip.py
4.安装完成后,在cmd中输入pip测试一下,显示help信息则安装成功
如果显示错误:“Fatal error in launcher: Unable to create process using '"c:\python27\python.exe" "C:\python27\Screpts\pip.exe" list...'"”
在cmd中输入where python.exe,如果WindowsApps也显示了python.exe和python3.exe,那么需要把c:\python27\python.exe改成c:\python27\python2.exe.(因为WindowsApps里面的删不掉。。。)
然后重新运行get-pip.py: python2 get-pip.py