Python ERROR: Could not build wheels for twisted-iocpsupport, which is required to install pyproject

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就安装成功了。

Python ERROR: Could not build wheels for twisted-iocpsupport, which is required to install pyproject_第1张图片

你可能感兴趣的:(Python,爬虫,python,windows)