I recently updated my system to Ubunutu 20.04, and my python is now 3.8. Since then all my import vtk
lines don\'t work,
Use apt-get install python3-vtk7
(https://packages.ubuntu.com/focal/python3-vtk7) for ubuntu 20.04.
The python-vtk
package is only available for ubuntu 16.04 (https://packages.ubuntu.com/xenial/python-vtk).
There are no vtk pip
wheels for python 3.8, though they do exist for older versions of python. See https://pypi.org/project/vtk/#files