[SciPy-user] about MLab

C.J.Lee@tnw.utwen... C.J.Lee@tnw.utwen...
Sun Nov 4 06:06:23 CST 2007


I would guess that means you have an incomplete install of numpy.

Check that in the site-packages directory that numpy/oldnumeric/mlab.py exists. If it doesn't then you need to reinstall numpy

I can't check on my linux or windows machine right now, but it certainly works on my Mac OS X box

Cheers
Chris


-----Original Message-----
From: scipy-user-bounces@scipy.org on behalf of linda.s
Sent: Sun 11/4/2007 12:33 PM
To: SciPy Users List
Subject: Re: [SciPy-user] about MLab
 
>>> numpy.oldnumeric.mlab
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'oldnumeric'


On Nov 4, 2007 3:06 AM,  <C.J.Lee@tnw.utwente.nl> wrote:
> Some Numeric functionality can be obtained as follows:
>
> The old Numeric routine names and behavior for functions in the add-on packages UserArray, Matrix, MLab, LinearAlgebra, FFT, RandomArray, RNG and RNG.Statistics have been moved to numpy.oldnumeric.<pkg> where <pkg> is user_array, matrix, mlab, linear_algebra, fft, random_array, rng, and rng_stats respectively
>
> Hope this helps
> Cheers
> Chris
>
>
>
> -----Original Message-----
> From: scipy-user-bounces@scipy.org on behalf of linda.s
> Sent: Sun 11/4/2007 11:08 AM
> To: SciPy Users List
> Subject: [SciPy-user] about MLab
>
> I have quite a few codes written in Numeric.
> MLab comes with Numeric too.
> I got confused when I began to use numpy because it does not have MLab
> and does not have some same functions in Numeric.
> is there any smooth way to change the code developed in Numeric to numpy?
> Thanks,
> Linda
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
_______________________________________________
SciPy-user mailing list
SciPy-user@scipy.org
http://projects.scipy.org/mailman/listinfo/scipy-user



More information about the SciPy-user mailing list