pythonwin10中python3.5.2输入pip出现Fatal error in launcher: Unable to create process using '"&
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了pythonwin10中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
以上是关于pythonwin10中python3.5.2输入pip出现Fatal error in launcher: Unable to create process using '"&的主要内容,如果未能解决你的问题,请参考以下文章
环境搭建 之 Windows10 安装 python3.5.2