win7 64位,安装urllib老是报错?
系统:win7 64位
python 3.6.1 32位
错误如下:
D:\jianguoyun\pythonProgrames3 λ pip3 install urllib
Collecting urllib
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/da/97/7ed06ae96106088e13e
88fd6f91c17fb58786d705b851f82c991664b08db/urllib-1.21.1.tar.gz (226kB)
100% |████████████████████████████████| 235kB 1.4MB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-build-8yb3sik_\urllib\setup.p
y", line 191
s.connect((base64.b64decode(rip), 017620))
^
SyntaxError: invalid token
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\ADMINI~1\A
ppData\Local\Temp\pip-build-8yb3sik_\urllib\
请各位看看该怎么弄呢?
多谢!
回答:
urllib
不是自带的吗? 为什么还要装?
或者你试下urllib3
吧
pip install urllib3
以上是 win7 64位,安装urllib老是报错? 的全部内容, 来源链接: utcz.com/a/161640.html