Dear all,

I'm unable to import pylab anymore, and I don't know why. It seems to 
be due to environment variables. The sys.path leads to the correct 
directories. I'm running Fedora 7 (I started using Matplotlib & Co. on 
FC5, then due to the problems I had I upgraded to F7, but it still 
doesn't work) Do you know if there is a conflict between scipy, 
matplotlib and pylab. Problems seem to have started after I installed 
scipy from the home:ashigabou.repo repository.

I can import pylab from an interactive prompt:

[EMAIL PROTECTED] ~] $ python
Python 2.5 (r25:51908, Oct 19 2007, 09:47:40) 
[GCC 4.1.2 20070925 (Red Hat 4.1.2-27)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylab
>>> import matplotlib
>>> import scipy
>>> 

If I try to run a script which imports pylab I get the following 
error:

[EMAIL PROTECTED] ~] $ python scripts/fit_gauss.py
Traceback (most recent call last):
  File "scripts/fit_gauss.py", line 3, in <module>
    from pylab import *
  File "/usr/lib/python2.5/site-packages/pylab.py", line 1, in 
<module>
    from matplotlib.pylab import *
ImportError: No module named pylab

I am also getting the same error if I try to run a script from XEmacs.

Thank you for your time!

Cheers,

Maximilian


________________________________________________
Tiscali Tandem Free (Telefono+Adsl). Attiva entro l?8/11/07: chiami in tutta 
Italia e navighi senza limiti a SOLI 9,95 € AL MESE FINO A PRIMAVERA 2008! 
http://abbonati.tiscali.it/adsl/prodotti/dem/tc/tandemfree_tel_cc/


-------------------------------------------------------------------------
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/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to