[vtkusers] Install VTK + Python

Dominik Szczerba domi at vision.ee.ethz.ch
Sat Apr 14 10:11:03 EDT 2007


Provided your VTK is compiled with python support you may need to specify 
where the modules are to be imported from. Quick try would be to set 
PYTHONPATH environmental variable to point to your vtk-python modules.
Dominik

On Saturday 14 April 2007 15:17, Paulo Henrique Junqueira Amorim wrote:
>       Hello,
>       I am download from
> http://www.vtk.org/files/release/5.0/vtk-5.0.3-win32.exe and installed to
> use with Python 2.5, but as I make to relate the VTK with the Python??
>
>       Error presented in Python
>
>       >>> import vtk
>
>       Traceback (most recent call last):
>       File "<stdin>", line 1, in <module>
>       ImportError: No module named vtk
>
>
>       Best Regards
>       Paulo Henrique Junqueira Amorim

-- 
Dominik Szczerba, PhD
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi



More information about the vtkusers mailing list