[SciPy-user] about MLab

Travis E. Oliphant oliphant at enthought.com
Thu Nov 8 10:15:23 EST 2007


Alan G Isaac wrote:
> On Wed, 7 Nov 2007, "linda.s" apparently wrote:
>   
>> I still have the problem such as:
>>     
>>>>> import numpy
>>>>> numpy.oldnumeric.mlab 
>>>>>           
>
> That is incorrect.
> Apparently you missed my post:
>   
>>>> from numpy.oldnumeric import mlab
>>>>         
>
>   

You need to import oldnumeric specifically (it is not loaded by default).

import numpy.oldnumeric

Then, you will have

numpy.oldnumeric.mlab


-Travis




More information about the SciPy-User mailing list