error: subprocess-exited-with-error

× Building wheel for twisted-iocpsupport (pyproject.toml) did not run successfully.

│ exit code: 1

╰─> [5 lines of output]

running bdist_wheel

running build

running build_ext

building 'twisted_iocpsupport.iocpsupport' extension

error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

ERROR: Failed building wheel for twisted-iocpsupport

Failed to build twisted-iocpsupport

ERROR: Could not build wheels for twisted-iocpsupport, which is required to install pyproject.toml-based projects

解决方法:

链接:https://pan.baidu.com/s/1Auf27eSOlZbWY8XDYxZpWA

提取码:7jnq

下载结束后,安装VisualCppBuildTools_Full.exe,安装成功后,再次在Pycharm中安装Scrapy就安装成功了。

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐