471,602 Members | 1,287 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,602 software developers and data experts.

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

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
0 1408

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Richard | last post: by
4 posts views Thread by Rama Calaga | last post: by
1 post views Thread by Nicola Kaiser | last post: by
reply views Thread by bwaha | last post: by
3 posts views Thread by Peter Beattie | last post: by
reply views Thread by Santix | last post: by
reply views Thread by matthew43 | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.