Thank you very much for you help. Unfortunately I still have troubles. Now
the problem is in module tkinter, as you can see in the following.
Actually in /usr/lib the file libvtkRenderingPythonTkWidgets.so.5.0.4 does
exist.

Thank you  very much in advance for your help
Paolo


$ export
PYTHONPATH="/usr/lib/python2.3/site-packages/mayavi:/usr/lib/python2.3/site-packages:/usr/lib"

$ echo $PYTHONPATH
/usr/lib/python2.3/site-packages/mayavi:/usr/lib/python2.3/site-packages:/usr/lib

$ mayavi
Traceback (most recent call last):
  File "/usr/bin/mayavi", line 317, in <module>
    app = MayaViTkGUI (r)
  File "/usr/lib/python2.3/site-packages/mayavi/Main.py", line 1009, in
__init__
    self.renwin = Misc.RenderWindow.RenderWindow (self.renwin_frame)
  File "/usr/lib/python2.3/site-packages/mayavi/Misc/RenderWindow.py", line
89, in __init__
    height=505)
  File "/usr/lib/python2.5/site-packages/vtk/tk/vtkTkRenderWidget.py", line
81, in __init__
    vtkLoadPythonTkWidgets(master.tk)
  File "/usr/lib/python2.5/site-packages/vtk/tk/vtkLoadPythonTkWidgets.py",
line 63, in vtkLoadPythonTkWidgets
    interp.call('load', filename)
_tkinter.TclError: couldn't load file "libvtkRenderingPythonTkWidgets.so":
libvtkRenderingPythonTkWidgets.so: cannot open shared object file: No such
file or directory


2008/5/19 <[EMAIL PROTECTED]>:

>
> Sorry I don't run an rpm based installation, but you likely have to
> add the path the mayavi in your PYTHONPATH environment variable.
>
> Mayavi is probably located someplace like
> /usr/lib/python2.4/site-packages/mayavi
>
>
>
> Quoting Paolo Gavardi <[EMAIL PROTECTED]>:
>
> > The installation seemed ok, from MayaVi-1.5-1.noarch.rpm
> >
> > Unfortunately, when I try to run MayaVi  I continue to get the following
> > error message
> >
> > [EMAIL PROTECTED] ~]# mayavi
> > Traceback (most recent call last):
> >   File "/usr/bin/mayavi", line 296, in <module>
> >     import Main
> > ImportError: No module named Main
> >
> >
> > Where may I have made a mistake?
> >
> > Thank you very much
> > Paolo Gavardi
> >
>
>
>
>
> -------------------------------------------------------------------------
> 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
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to