Re : Upgrade woes: Numeric, gnuplot, and Python 2.4

C

Cedric

This is a 3 weeks old problem, but having found a solution (and having
looked for one here, finding only this message), I'm replying now.

From: Jive ([email protected])
Subject: Upgrade woes: Numeric, gnuplot, and Python 2.4
Date: 2004-12-11 18:45:10 PST
Here's my sitch:

I use gnuplot.py at work, platform Win32.
I want to upgrade to Python 2.4.
Gnuplot.py uses extension module Numeric.
Numeric is now "unsupported." The documentation
says "If you are new to Numerical Python, please
use Numarray.". It's not that easy, dangit.
The download page for numpy does not contain a
2.4 version of Numeric, and I suspect they do
not intend to release one, because there IS a 2.4
version of Numarray.

Numarray was designed to be mostly backward compatible with Numeric. I
just replaced all of the

import Numeric

by

import numarray as Numeric

and it worked fine. Though I also had the same problem that I had with
Python 2.3 and Gnuplot, namely having to correct gnuplot_command in
gp_win32.py. On a related note, maybe I don't understand pipes, but
why doesn't popen() return an error when it doesn't find the file, and
it's open for reading?

Cédric
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,810
Latest member
Kassie0918

Latest Threads

Top