安裝pyqt5,參考一下
http://www.reibang.com/p/7cbe7b9839ea
安裝vkt
git clone https://gitlab.kitware.com/vtk/vtk.git
cd vtk
mkdir build
cd build
cmake ..
make
sudo make install
安裝依賴
sudo apt-get install libgl1-mesa-dev libosmesa6-dev libxt-dev libqt5opengl5-dev
從apt安裝
sudo apt-get update
sudo apt-get install python3-vtk7
sudo apt-get install mayavi2