1. The reason for the error
The following error occurs when installing the library
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.
An error is reported when the python version is inconsistent with the version of the installed library
Two, the solution
Check the version of the library to be installed:
My python version is 3.10 so the highest version of mayavi is installed
pip install mayavi==4.8.1
successful