Christine Cordula Dantas <[EMAIL PROTECTED]> writes: > Hello. I'm trying to install/run mayavi in a mac os. Before doing > this, I have installed PyVTK-0.4.74 and numpy-1.0.4 (not sure if I > succeeded, though.
mayavi is now pretty old. Prabhu is now working on MayaVi2 ... or maybe he's even moved on with that, I don't keep very up to date these days. Anyway, you should at least google around for MayaVi2 and see if that might be a better fit for you at this point, but I'll finish the email assuming you've done as much and really really want MayaVi (v1) for some reason. > I used 'sudo' to make the installation of these > packages using 'sudo python setup.py install'. Without 'sudo' I was > getting a permission denied at some point. After using 'sudo', there > was no apparent error). You'll need to use sudo to install things -- so, yes, you're on the right track. Sounds like you compiled them manually. If you're on a mac, I would highly recommend one of the packaging systems, such as darwinports or fink; maybe there are others these days too. > This is what I get: > > ===================================== > $./mayavi > Traceback (most recent call last): > File "./mayavi", line 289, in ? > import vtk > ImportError: No module named vtk Hrm, I vaguely remember the module being named `vtkpython' for some reason. Try running `python' from your shell. From the interactive python shell (denoted by ">>>") try `import vtkpython' -- does that give an error? -tom ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ MayaVi-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mayavi-users
