Install matplotlib

Today I tried to install matplotlib, first downloading
matplotlib-0.63.4.tar.gz, then "gunzip matplotlib-0.63.4.tar.gz", then "tar
-vxf matplotlib-0.63.4.tar", then I don't know what to do.

I tried "python setup.py build", but got the following error:

Traceback (most recent call last):
  File "setup.py", line 39, in ?
    VERBOSE = False # insert lots of diagnostic prints in extension code
NameError: name 'False' is not defined

I also tried "setup.py", and "make -f Makefile" but without any success.

Which command I should use to install matploylib?

This is a shared linux web server, I am not root, I want to install matplotlib
under my login directory, and be able to draw stock charts with OHLC (Open High
Low Close) as well as volume on a second x-axis.

Leo

···

_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

Leo Budd wrote:

Today I tried to install matplotlib, first downloading matplotlib-0.63.4.tar.gz, then "gunzip matplotlib-0.63.4.tar.gz", then "tar
-vxf matplotlib-0.63.4.tar", then I don't know what to do.

I tried "python setup.py build", but got the following error:

Traceback (most recent call last):
  File "setup.py", line 39, in ?
    VERBOSE = False # insert lots of diagnostic prints in extension code
NameError: name 'False' is not defined

False was introduced in a recent version of Python (2.2 maybe). You must be running an older python. just run:

python

and you'll see what version it is in the startup message.

If you have multiple versions installed, try:

python2.3 setup.py build

If not, get and install 2.3, and then try again. What system is this?

if you're not sure, try:

locate "*/bin/*python*"

If your locate db is up to date, you should get a few options.

What OS/distro/version are you running?

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...

Leo,

Traceback (most recent call last):
  File "setup.py", line 39, in ?
    VERBOSE = False # insert lots of diagnostic prints in extension code
NameError: name 'False' is not defined

Matplotlib 0.63.4 requires python 2.3. It sounds like you have
an earlier version of python that doesn't recognize False (I
think this was introduced for python2.2, but I'm not certain).

This is a shared linux web server, I am not root, I want to
install matplotlib under my login directory, and be able to draw
stock charts with OHLC (Open High Low Close) as well as volume
on a second x-axis.

You need python2.3. You could either convince the admin to
install this or install a private copy of python2.3 in your
own directory.

--Matt