1. エラーの理由
ライブラリのインストール時に以下のエラーが発生する
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 のバージョンがインストールされているライブラリのバージョンと一致しない場合、エラーが報告されます
2、解決策
インストールするライブラリのバージョンを確認します。
私のPythonバージョンは3.10なので、mayaviの最高バージョンがインストールされています
pip install mayavi==4.8.1
成功