首页 > 代码库 > 【python】win10中python3.5.2输入pip出现Fatal error in launcher: Unable to create process using '"'

【python】win10中python3.5.2输入pip出现Fatal error in launcher: Unable to create process using '"'

系统:windows 10

python版本:3.5.2

出现的错误如下:  

  C:\Users\zhuxy>pip list
  Fatal error in launcher: Unable to create process using ‘"‘
 尝试的解决办法:  
C:\Users\zhuxy>python -m pip install package
Collecting package
Downloading package-0.1.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\zhuxy\AppData\Local\Temp\pip-build-5iqrtl2k\package\setup.py", line 31
"""
^
SyntaxError: invalid syntax
 
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\zhuxy\AppData\Local\Temp\pip-build-5iqrtl2k\package\
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip‘ command.
提示已经很明显了
C:\Users\zhuxy>
C:\Users\zhuxy>python -m pip install --upgrade pip
Collecting pip
Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 7.7kB/s
Installing collected packages: pip
Found existing installation: pip 8.1.1
Uninstalling pip-8.1.1:
Successfully uninstalled pip-8.1.1
Successfully installed pip-9.0.1
再次输入pip成功:
C:\Users\zhuxy>pip
Usage:
pip <command> [options]
Commands:
install Install packages.
 
--------------------------------------------
人生苦短,
我爱python
 

【python】win10中python3.5.2输入pip出现Fatal error in launcher: Unable to create process using '"'