我试图使用pip安装scrapy,但发生了这种情况。我已经有一个虚拟环境和所有。
Building wheel for twisted-iocpsupport (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for twisted-iocpsupport (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
running bdist_wheel
running build
running build_ext
building 'twisted_iocpsupport.iocpsupport' extension
creating build
creating build\temp.win-amd64-cpython-311
creating build\temp.win-amd64-cpython-311\Release
creating build\temp.win-amd64-cpython-311\Release\twisted_iocpsupport
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
我尝试使用pip安装Twisted和twisted-iocpsupport,但仍然出现同样的问题。我该怎么办?我用的是Python 3.11.2。
1条答案
按热度按时间xpcnnkqh1#
正如我在有关问题的评论中所说:
我们还没有为Python 3.11发布这个模块。我刚刚看到这个问题启动了1.0.3的发布过程,它应该在一个小时内将轮子上传到PyPI,你不会再看到这个问题了。
将来当你看到这种类型的错误时,请随意使用file a bug on Twisted来提示其中一个维护者上传轮子。