Hi David,
I’m sorry to trouble you, but I have a question. I was compiled VTK with VTK_PYTHON_WRAP, and I got my .pyd file and vtk.pyd.
In Python project, I set the PYTHONPATH for external library
- Path to vtk
- Path to my library.
But when I do
import vtk
and trace this line by start the app, a have an error
ile “C:\Users\Admin\workspace\GeodesicDistance\TA_placeer_at_key_point_v5p0_partial_version.py”, line 1, in
import vtk
File “C:\Program Files (x86)\VTK\bin\Lib\site-packages\vtk.py”, line 32, in
all_spec.loader.exec_module(all_m)
File “C:\Program Files (x86)\VTK\bin\Lib\site-packages\vtkmodules\all.py”, line 7, in
from .vtkCommonCore import *
File “C:\Program Files (x86)\VTK\bin\Lib\site-packages\vtkmodules\vtkCommonCore.py”, line 9, in
from vtkCommonCorePython import *
ModuleNotFoundError: No module named ‘vtkCommonCorePython’
Can you advice me, what I should be done in this case?
Thanks a lot