一、报错原因
安装库时出现以下报错
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