by: https://github.com/walkoncross ([email protected])
pip3 install vtk==9.0.2
pip install PyQt5
If pip install failed (which did on my Mac), install from Homebrew:
brew install PyQt5
and make symbol link:
ln -s /opt/homebrew/Cellar/pyqt@5/5.15.4_2/lib/python3.9/site-packages/PyQt /Users/zhaoyafei/miniforge3/lib/python3.9/site-packages
Replace "/Users/zhaoyafei/miniforge3/lib/python3.9/site-packages" with your python lib path.
git clone https://github.com/enthought/mayavi.git
cd mayavi
python setup.py install
my two cents:
error: unknown target CPU 'apple-m1'
plotly
instead, it's a one-line install that bloody works