[vtkusers] Problem VTK4 + python 2.2

Emmanuel Olart olart at theralys.com
Fri Jan 11 06:22:38 EST 2002


Hello,

I just installed python 2.2 and vtk 4 on a new computer in order to test 
all my previous modules on this new environment (perviously python 2.1 
and vtk 3.2 for me)

I encounter strange errors that I don t understand :



/Python 2.2 (#3, Jan 10 2002, 10:43:22) //
//[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2//
//Type "help", "copyright", "credits" or "license" for more information.//
//>>> from vtkpython import *//
//>>> data=vtkImageData()//
//>>> reslice=vtkImageReslice()//
//>>> reslice.SetInput(data)//
//Traceback (most recent call last)://
//  File "<stdin>", line 1, in ?//
//ValueError: method requires a VTK object//
/
Does anyone ever encountered this and knows a solution ?

Regards

Emmanuel




More information about the vtkusers mailing list