Error:  An error occurred while installing scrapy!
  Failed building wheel for Twisted 或者lxml
Command "c:\users\jp\.virtualenvs\scrapy-qa89lxkd\scripts\python.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('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\jp\AppData\Local\Temp\pip-record-tq3m5wwq\install-record.txt --single-version-externally-managed --compile --install-headers c:\users\jp\.virtualenvs\scrapy-qa89lxkd\include\site\python3.6\Twisted" failed with error code 1 in C:\Users\jp\AppData\Local\Temp\pip-install-ofi8gdc7\Twisted\

 

到https://www.lfd.uci.edu/~gohlke/pythonlibs

下载对应电脑版本的安装源码

安装scrapy出错解决方式

安装scrapy出错解决方式

 

之后把文件放到项目路径下,运行pipenv install filename

相关文章:

  • 2021-12-14
  • 2021-12-15
  • 2022-01-02
  • 2022-12-23
  • 2022-12-23
  • 2021-09-06
  • 2022-01-20
猜你喜欢
  • 2021-06-19
  • 2022-12-23
  • 2021-11-01
  • 2021-07-23
  • 2021-11-07
  • 2018-10-28
  • 2021-09-21
相关资源
相似解决方案