R
Ron Kneusel
I have installed VTK 4.2.6 and Python 2.3.4. Both are working and I
can run the VTK Python examples except for those in the GUI directory.
These always fail with messages similar to this:
/home/rkneusel/VTK/Examples/GUI/Python> python2.3 BoxWidget.py
Traceback (most recent call last):
File "BoxWidget.py", line 57, in ?
boxWidget = vtk.vtkBoxWidget()
AttributeError: 'module' object has no attribute 'vtkBoxWidget'
This method of running the other VTK examples, including those that
put up a window (like the medical examples) work properly.
I read a blurb in the MayaVi installation notes that this is due to a
problem with a return value but should not exist in versions of VTK
4.2.5 or higher.
Any help appreciated!
Ron
can run the VTK Python examples except for those in the GUI directory.
These always fail with messages similar to this:
/home/rkneusel/VTK/Examples/GUI/Python> python2.3 BoxWidget.py
Traceback (most recent call last):
File "BoxWidget.py", line 57, in ?
boxWidget = vtk.vtkBoxWidget()
AttributeError: 'module' object has no attribute 'vtkBoxWidget'
This method of running the other VTK examples, including those that
put up a window (like the medical examples) work properly.
I read a blurb in the MayaVi installation notes that this is due to a
problem with a return value but should not exist in versions of VTK
4.2.5 or higher.
Any help appreciated!
Ron