[vtkusers] Error with VTK4.0 and python2.2: "ValueError: method requires a VTK object"
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Sun Apr 7 20:41:10 EDT 2002
>>>>> "SX" == Scott X <scott_01 at hotmail.com> writes:
SX> I've built VTK4.x on a redhat 7.2 machine with python2.2 and I
SX> get this error when I run CSpline.py from the old vtk31
SX> release demos. CSpline.tcl in the new Examples directory runs
SX> just fine and it seems to be a parallel of the python
SX> version. Here's the error in its full glory:
[snip]
SX> File "mybottle.py", line 58, in mylens
SX> extrude.SetInput(profile) ValueError: method requires a VTK
SX> object
This can happen when you have different versions of the VTK python
libraries. Look here:
http://public.kitware.com/pipermail/vtkusers/2002-January/009018.html
You might want to read the whole thread.
prabhu
More information about the vtkusers
mailing list