pip install urllib2 #failed [duplicate]
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: This question already has an answer here: Python 3.2 Unable to import urllib2 (ImportError: No module named urllib2) [duplicate] 3 answers I am trying to install urllib2 in cmd console to import it from python 3.5. I am getting this error: pip install urllib2 Failed building wheel for urllib2 Command "c:\anaconda\python.exe -u -c "import setuptools, tokenize; file ='C:\Users\NA401134\AppData\Local\Temp\pip-build-7meqhp18\urllib2\setup.py';f=getattr(tokenize, 'open', open)( file );code=f.read().replace('\r\n', '\n');f.close();exec(compile