一、报错原因

安装库时出现以下报错

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

× Getting requirements to build wheel did not run successfully.
│ exit code: -11
╰─> See above for output.

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

python版本与安装库的版本不一致报错

二、解决方法

查看要安装的库的版本:

我的python版本3.10所以安了mayavi的最高的版本

pip install mayavi==4.8.1

 successful

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐