By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,941 Members | 1,789 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,941 IT Pros & Developers. It's quick & easy.

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

P: n/a
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 (so*****@microsoft.com)
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
Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.