Error: An error occurred while installing scrapy!
Failed building wheel for Twisted 或者lxml
Command "c:usersjp.virtualenvsscrapy-qa89lxkdscriptspython.exe -u -c "import setuptools, tokenize;__file__='C:\Users\jp\AppData\Local\Temp\pip-install-ofi8gdc7\Twisted\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" install --record C:UsersjpAppDataLocalTemppip-record-tq3m5wwqinstall-record.txt --single-version-externally-managed --compile --install-headers c:usersjp.virtualenvsscrapy-qa89lxkdincludesitepython3.6Twisted" failed with error code 1 in C:UsersjpAppDataLocalTemppip-install-ofi8gdc7Twisted
到https://www.lfd.uci.edu/~gohlke/pythonlibs
下载对应电脑版本的安装源码
之后把文件放到项目路径下,运行pipenv install filename