Thank you for the reply.
Started python
import vtk - OK!
import mayavi
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/sw/lib/python2.3/site-packages/mayavi/__init__.py", line 5,
in ?
import Common, Base.Objects
File "/sw/lib/python2.3/site-packages/mayavi/Base/__init__.py",
line 19, in ?
import Objects
File "/sw/lib/python2.3/site-packages/mayavi/Base/Objects.py",
line 20, in ?
import Tkinter, vtkpython, math, tkColorChooser
ImportError: No module named vtkpython
???
Thank you and Best Regards
Misak
> 1. Start a Python interpreter session and type this:
>
>>>> import vtk
>
> If that works then try this:
>
>>>> import mayavi
>
I tried
On Apr 7, 2007, at 6:42 AM, Prabhu Ramachandran wrote:
>>>>>> "Misak" == Misak Sargsian <[EMAIL PROTECTED]> writes:
>
> Misak> Installed mayavi on MacBook pro using fink - it was
> Misak> installed without problem.
>
> Misak> Now when I'm running mayavi from xterm it give the
> Misak> following error
>
> Misak> Traceback (most recent call last): File "/sw/bin/mayavi",
> Misak> line 291, in ? import Main ImportError: No module named
> Misak> Main
>
> Misak> Will appreciate very much your help resolving this issue.
>
> I don't use fink so am not sure what is happening. Can you try the
> following:
>
> 1. Start a Python interpreter session and type this:
>
>>>> import vtk
>
> If that works then try this:
>
>>>> import mayavi
>
> Let us know if you run into an errors.
>
> 2. Find the test_vtk.py script on your system and try it, I hope it
> is installed.
>
>
> 3. I am hazarding a guess that fink has a different Python
> interpreter than the default one on your MacBook and the fink
> mayavi script must be run using the fink version of Python.
>
> HTH.
> prabhu
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users