[SciPy-user] 'module' object has no attribute 'UnsignedInt8'

David M. Cooke cookedm at physics.mcmaster.ca
Mon Jun 12 19:48:34 CDT 2006


On Mon, 12 Jun 2006 18:10:50 -0600
Travis Oliphant <oliphant at ee.byu.edu> wrote:

> Steve Schmerler wrote:
> 
> >Hi
> >
> >After upgrading to the latest svn version I get
> >
> >In [4]: import scipy
> >import misc -> failed: 'module' object has no attribute 'UnsignedInt8'
> >
> >Besides this, everthing seems to work.
> >
> >  
> >
> 
> Please report any more little issues like this.  I recently updated 
> NumPy to place deprecated names in oldnumeric.py
> 
> Many places in SciPy still use the deprecated names.  I tried to get 
> them all, but I may have failed.

[one-up-ed your fix, Travis] The misc/ stuff should use dtypes now instead of
typecodes. One advantage of dtypes is that it's clear from reading the source
that the 'F' and 'I' types in PIL are float32 and int32...

-- 
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke                      http://arbutus.physics.mcmaster.ca/dmc/
|cookedm at physics.mcmaster.ca



More information about the SciPy-user mailing list