python pip install scrapy的错误

Command "g:\envs\py3scrapy\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-qw87a38s\\Twisted\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\ADMINI~1\AppData\Local\Temp\pip-record-dakddo1o\install-record.txt --single-version-externally-managed --compile --install-headers g:\envs\py3scrapy\include\site\python3.5\Twisted" failed with error code 1 in C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-qw87a38s\Twisted\



安装scrapy需要的依赖库有这些:Twisted ,lxml ,pyOpenSSL,wheel

                      我的电脑上直接pip install Twisted 也不好使,

                       进https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted下载后,本地安装(在对应Twisted文件目录下用pip install 完整名称加后缀.whl的Twisted文件)即可

你可能感兴趣的:(python)