[英]unknown error installing scrapy in pycharm on windows 10
I'm trying to install scrapy in my project virtual environnement in pycharm and i'm having the following error.我正在尝试在 pycharm 的项目虚拟环境中安装 scrapy,但出现以下错误。 ( this is the last few lines of the error log it is quite long )
(这是错误日志的最后几行,很长)
I don't know what is wrong or what to look for.我不知道出了什么问题或要寻找什么。
I tried to install it using the package manager and the pip install scrapy
command and the result is the same.我尝试使用包管理器和
pip install scrapy
命令安装它,结果是一样的。
can you help me?你能帮助我吗? thank you and have a nice day!
谢谢你,祝你有美好的一天!
building 'twisted.test.raiser' extension
creating build\temp.win32-3.8
creating build\temp.win32-3.8\Release
creating build\temp.win32-3.8\Release\src
creating build\temp.win32-3.8\Release\src\twisted
creating build\temp.win32-3.8\Release\src\twisted\test
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DWIN32=1 -IC:\Users\XXXXX\PycharmProjects\scrapicerie\venv\include -IC:\Python\Python38-32\include -IC:\Python\Python38-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" /Tcsrc/twisted/test/raiser.c /Fobuild\temp.win32-3.8\Release\src/twisted/test/raiser.obj
raiser.c
C:\Python\Python38-32\include\pyconfig.h(59): fatal error C1083: Impossible d'ouvrir le fichier includeÿ: 'io.h'ÿ: No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.24.28314\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2
----------------------------------------
Apparently it had something to do with visual studio.显然它与视觉工作室有关。 I reinstalled visual studio with the python and c++ module and now scrapy installed correctly in pycharm.
我用python和c++模块重新安装了visual studio,现在在pycharm中正确安装了scrapy。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.