当我尝试安装PIP时,此错误的原因是什么?

时间:2019-03-25 23:29:10

标签: python pip

我已经从一些不同的来源下载了PIP文件,并尝试通过python get-pip.py命令进行安装。我每次都会收到此错误:

Traceback (most recent call last):   File "get-pip.py", line 21361, in
<module>
    main()   File "get-pip.py", line 197, in main
    bootstrap(tmpdir=tmpdir)   File "get-pip.py", line 82, in bootstrap
    import pip._internal   File "c:\users\asus\appdata\local\temp\tmpe8xyok\pip.zip\pip\_internal\__ini
_.py", line 19, in <module>   File "c:\users\asus\appdata\local\temp\tmpe8xyok\pip.zip\pip\_vendor\urllib3
_init__.py", line 8, in <module>   File "c:\users\asus\appdata\local\temp\tmpe8xyok\pip.zip\pip\_vendor\urllib3
onnectionpool.py", line 92
    _blocking_errnos = {errno.EAGAIN, errno.EWOULDBLOCK}
                                    ^ SyntaxError: invalid syntax

我正在Windows 8上使用python 2.6

0 个答案:

没有答案