[vtkusers] import error after setup.py

Karsten Müller email at karsten-mueller.net
Wed Aug 3 05:16:38 EDT 2005


Hei !

I want to use VTK from Python 2.4.1 under Windows XP and installed VTK at C:\Program Files\vtk42 .
I ran 

'pyhton setup.py.in install'

in the \Wrapping\Python directory. While trying to import vtk via 'import vtk'
the following error message was raised:


>>>
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\vtk_python\vtk\__init__.py", line 7, in ?
from common import *
File "C:\Python24\Lib\site-packages\vtk_python\vtk\common.py", line 9, in ?
from vtkCommonPython import *
ImportError: No module named vtkCommonPython
>>>


Would be very grateful for any help.


Karsten



More information about the vtkusers mailing list