I am trying to install Python with VTK on my computer, but when I want to import VTK, I get an error:
import vtk
Traceback (most recent call last):
File
In windows,
You are supposed to add the following path
Add the folders containing the .pyd and .dll files to the PYTHONPATH environment variable.
Example:
D:\VTK\VTK-bin\bin\Release\Lib\site-packages\vtkmodules
D:\VTK\VTK-bin\bin\Release
Additionally, add the path to bin folder of Qt to the System variable PATH C:\Qt\5.10.0\msvc2017_64\bin