我已经从一些不同的来源下载了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