[SciPy-dev] scipy distutils questions
Pearu Peterson
pearu at scipy.org
Wed Dec 14 15:15:43 EST 2005
On Wed, 14 Dec 2005, Arnd Baecker wrote:
> I think that the reason is that _is_64bit from cpuinfo.py fails
> silently and therefore is_32bit is True:
>
> from cpuinfo import *
>
> In [4]: cpu._is_Itanium()
> Out[4]: True
>
> n [6]: cpu._is_32bit()
> Out[6]: True
>
> In [7]: cpu._is_64bit()
> ---------------------------------------------------------------------------
> exceptions.KeyError Traceback (most
> recent call last)
>
> /work/home/baecker/INSTALL_PYTHON2/CompileDir/CompileNEW/core/scipy/distutils/<ipython
> console>
>
> /work/home/baecker/INSTALL_PYTHON2/CompileDir/CompileNEW/core/scipy/distutils/cpuinfo.py
> in _is_64bit(self)
> 231 if self.info[0].get('clflush size','')=='64':
> 232 return 1
> --> 233 if self.info[0]['uname_m']=='x86_64':
> 234 return 1
> 235 if self.info.get('arch','')=='IA-64':
>
> KeyError: 'uname_m'
Ok, that was it. The fix is in SVN now.
Pearu
More information about the SciPy-Dev
mailing list