[Numpy-discussion] Installation of Numerical Python

Peter numpy-discussion at maubp.freeserve.co.uk
Sat Oct 11 07:08:23 EDT 2008


On Sat, Oct 11, 2008 at 1:58 AM, Linda Seltzer
<lseltzer at alumni.caltech.edu> wrote:
>
> I didn't know there was a difference between Numeric and numpy.  Could
> someone please provide clear, detailed instructions for how to get
> *something* (numeric, numpy) to work so that I can get my work (matrices)
> done?

Hi Linda,

You only sent this to me BTW, I have copiedg this reply back to the list.

>From your original email, I have the impression you are using some
existing code that someone else wrote:

Traceback (most recent call last):
 File "C:\Documents and Settings\music1\My
Documents\Aerostream\aerostream\Reed
Solomon\python-rscode\python-rscode\GF16genroot2a.py", line 18, in
<module>
   import Numeric
ImportError: No module named Numeric

I suggest you try one of the following (in order of preferrence):

I would start by emailing the author(s) and asking if they have any
plans to move their code from Numeric to numpy.

Otherwise, if you are reasonably experienced with python, you could
try modifying their code to switch it from Numeric to numpy.

Finally, what is probably the easiest answer in the short term, just
install Numeric for Python 2.5 using the Windows installer I linked
to.

Peter

P.S. You can have both Numeric and numpy installed at the same time -
that won't cause a problem.



More information about the NumPy-Discussion mailing list