遇到“pip getting requirements to build wheel ... error”错误时,通常表明在安装Python包时,pip尝试从源代码构建该包但遇到了问题。以下是一些解决此问题的步骤: 确认错误信息完整性: 查看完整的pip错误信息,特别是与“getting requirements to build wheel”相关的部分。这有助于确定是哪一步骤或哪个依赖项导致...
1、报错信息:Getting requirements to build wheel ... error 这是opencv-python报错,原因是由于使用的是python2,而opencv版本过高导致的,安装版本较低的opencv即可 解决方法: python -m pip install opencv-python==4.2.0.32 2、 ubuntu20.04 默认自带的python版本已经是python3了,要想使用python2,使用命令sudo ...
③在 cmd 中输入“ python -m pip install --upgrade pip ”,Enter 回车即可。 ④更新中可能遇到的“ Requirement already up-to-date ”解决方法见另一篇博客,总结的非常详细。 ⑤更新中还可能遇到系统权限的问题,这时可以在 install 后面输入“ --user ”,即输入“ python -m pip install --user --upgrad...
error:subprocess-exited-with-error × Getting requirements to build wheel didnotrun successfully.│ exit code:1╰─>[23lines of output]Traceback(most recent call last):File"C:\etc\Python\Python39\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py",line353,in<module>ma...
原文地址:https://blog.csdn.net/qq_37598092/article/details/123652853 使用pip安装Cartopy库时,出现报错: 1 Getting requirements to build wheel did not run successfully
error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip.
安装好之后,记得在项目的requirements.txt上删除那一行 最后,我们重新执行一遍"pip install -r ...
build wheel ... error error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [24 lines of output] Traceback (most recent call last): File "C:\msys64\mingw64\lib\python3.10\site-packages\pip\_vendor\pyproject_hooks\_in...
Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'error' error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [52 lines of output] ...
你应该创建一个pyproject.toml,看起来像这样: