[vtkusers] Mac os x: succcess, but...

Mike Robertson fermion at mac.com
Thu Apr 25 16:37:48 EDT 2002


Alright. I've had much success now getting VTK to compile with python and
tcl wrapping, *however*.... when I try to run mayavi, it returns this error:

mprober2% python mayavi.py
Traceback (most recent call last):
  File "mayavi.py", line 3, in ?
    import Main
  File "./Main.py", line 18, in ?
    import Base.Objects, Base.ModuleManager, Base.DataVizManager, Common
  File "./Base/Objects.py", line 18, in ?
    import Tkinter, vtkpython, math, tkColorChooser
ImportError: No module named vtkpython

Of course, I have vtkpython because I wrapped to python. :) It's here:
/usr/local/vtk/VTK/Wrapping/Python/vtkpython.py
/usr/local/vtk/VTK/Wrapping/Python/vtkpythontk.py

How do I get this program to recognize its location? I wrapped using the
system frameworks, after installing tcl 8.4 and a python 2.2.


mike


~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Michael Robertson
fermion at mac.com
http://thenewcosmos.com


Thousands of years ago, cats were worshiped as gods. Cats have never
forgotten this.






More information about the vtkusers mailing list