安装pyqt5,参考一下
https://www.jianshu.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