Dr. Lawrence Ward Spradley wrote:
> .... We have a computer running FC7, recently upgraded from FC6 after
> the original mbd fried during some power outages here. We installed
> MayaVi originally using the RPM that we downloaded from your website.
> Under FC6, we had to acquire & install VTK & tkinter ourselves, which we
> did. We then installed MayaVi (as root) & it ran very well & usefully
> until the big upgrade last week. Under FC7 (required due to even newer
> Mbd), which I installed as an upgrade to existing system from a DVD
> burned from 1 of the RH mirrors, we are having problems getting MayaVi
> to run. We have tried both the RPM & the '...bin.tar.gz' file installed
> in my personal account, & both fail to run, with different behavior. I
> attach results from invoking mayavi from the command line:

Sorry to hear the troubles.  I think the easiest way to install 
mayavi1.x is to use any debian derivative (like Ubuntu) since it is 
packaged by them and is apt-get'able.

> 
> [EMAIL PROTECTED] F117] 1:53:23pm 408 % mayavi 
> Traceback (most recent call last):
>   File "/usr/bin/mayavi", line 296, in <module>
>     import Main
> ImportError: No module named Main

This looks like VTK isn't installed.  What is the result of the 
following from your shell?

  $ python -c "import vtk"

If that command worked without error then try this:

  $ python -c "import mayavi"

If you don't have vtk installed then you might want to get hold of VTK 
rpms.  I do believe they are available for FC7.  Hmm, I just checked and 
VTK-5.0.3 is part of FC7.  So installing
vtk-python-5.0.3-18.2.fc7.i386.rpm should help.

> [EMAIL PROTECTED] F117] 1:53:26pm 409 % ~/bin/mayavi 
[...]
> vtk.__helper.LinkError: 
> /home/lws/DRYDEN_II/Dryden2006/MayaVi/MayaVi-linux-bin-1.5/support/libgcc_s.so.1:
>  version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
> [EMAIL PROTECTED] F117] 1:55:12pm 410 %
> The 1st invokation (from the RPM install) just fails immediately. The
> 2nd one seems to have a library incompatibility problem. Uname -a gives:

I'm not surprised the second one fails.  This one uses very old 
libraries built a few years ago that are sure to be incompatible on 
current desktops.

HTH.

cheers,
prabhu


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to