I have also tried this:
markacy@...632...:~>python
Python 2.3.5 (#1, Apr 28 2005, 10:18:07)
[GCC 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie- on linux2
Type "help", "copyright", "credits" or "license" for more information.
from matplotlib.pylab import *
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named pylab
from matplotlib import *
from matplotlib.pylab import *
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named pylab
import matplotlib
form matplotlib.pylab import *
File "<stdin>", line 1
form matplotlib.pylab import *
^
SyntaxError: invalid syntax
markacy@...632...:~>locate pylab
markacy@...632...:~>
Still nothing...
Please help.
Marek
Homo sum, humani nihil a me alienum puto.
···
On Wed, 25 May 2005, Robert Kern wrote:
Marek Szczypinski wrote:
Hello,
I am new to matplotlib. My system administrator installed matplotlib
(using gentoo's emerge command). There were no errors while installation,
but wen i try to import pylab i get an error:
markacy@...632...:~>python
Python 2.3.5 (#1, Apr 28 2005, 10:18:07)
[GCC 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1, ssp-3.3.5.20050130-1,
pie- on linux2
Type "help", "copyright", "credits" or "license" for more information.
> > > from pylab import *
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named pylab
> > from matplotlib.pylab import *
or, better:
$ ipython -pylab
--
Robert Kern
rkern@...376...
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users