[SciPy-Dev] ImportError: cannot import name oldnumeric

xavier.gnata@gmai... xavier.gnata@gmai...
Sun Sep 29 15:59:00 CDT 2013


Hi,

I have compiled numpy1.9.0.dev-e051ff following 
http://osdf.github.io/blog/numpyscipy-with-openblas-for-ubuntu-1204-second-try.html
to unable Openblas. It looks ok (run=5277 errors=0 failures=0 and 
Openblas is used) but now scipy git complains like this:

"python setup.py build
Cythonizing sources
scipy/interpolate/interpnd.pyx has not changed
scipy/ndimage/src/_ni_label.pyx has not changed
scipy/stats/vonmises_cython.pyx has not changed
scipy/stats/_rank.pyx has not changed
scipy/signal/_spectral.pyx has not changed
scipy/special/_ufuncs_cxx.pyx has not changed
scipy/special/_ufuncs.pyx has not changed
scipy/cluster/_vq_rewrite.pyx has not changed
scipy/sparse/csgraph/_shortest_path.pyx has not changed
scipy/sparse/csgraph/_traversal.pyx has not changed
scipy/sparse/csgraph/_min_spanning_tree.pyx has not changed
scipy/sparse/csgraph/_tools.pyx has not changed
scipy/io/matlab/mio5_utils.pyx has not changed
scipy/io/matlab/mio_utils.pyx has not changed
scipy/io/matlab/streams.pyx has not changed
scipy/spatial/ckdtree.pyx has not changed
scipy/spatial/qhull.pyx has not changed
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown 
distribution option: 'test_suite'
   warnings.warn(msg)
blas_opt_info:
blas_mkl_info:
Disabled blas_mkl_info: (MKL is None)
Disabled blas_mkl_info: (MKL is None)
   libraries mkl,vml,guide not found in []
   NOT AVAILABLE

openblas_info:
   FOUND:
     libraries = ['openblas']
     library_dirs = ['/usr/local/lib']
     language = f77

   FOUND:
     libraries = ['openblas']
     library_dirs = ['/usr/local/lib']
     language = f77

Traceback (most recent call last):
   File "setup.py", line 230, in <module>
     setup_package()
   File "setup.py", line 227, in setup_package
     setup(**metadata)
   File 
"/usr/local/lib/python2.7/dist-packages/numpy/distutils/core.py", line 
135, in setup
     config = configuration()
   File "setup.py", line 170, in configuration
     config.add_subpackage('scipy')
   File 
"/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", 
line 966, in add_subpackage
     caller_level = 2)
   File 
"/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", 
line 935, in get_subpackage
     caller_level = caller_level + 1)
   File 
"/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", 
line 872, in _get_configuration_from_setup_py
     config = setup_module.configuration(*args)
   File "scipy/setup.py", line 15, in configuration
     config.add_subpackage('lib')
   File 
"/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", 
line 966, in add_subpackage
     caller_level = 2)
   File 
"/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", 
line 935, in get_subpackage
     caller_level = caller_level + 1)
   File 
"/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", 
line 872, in _get_configuration_from_setup_py
     config = setup_module.configuration(*args)
   File "scipy/lib/setup.py", line 9, in configuration
     config.add_subpackage('blas')
   File 
"/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", 
line 966, in add_subpackage
     caller_level = 2)
   File 
"/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", 
line 935, in get_subpackage
     caller_level = caller_level + 1)
   File 
"/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", 
line 872, in _get_configuration_from_setup_py
     config = setup_module.configuration(*args)
   File "scipy/lib/blas/setup.py", line 22, in configuration
     from scipy._build_utils import get_g77_abi_wrappers
   File "/usr/local/src/scipy/scipy/__init__.py", line 77, in <module>
     from numpy import oldnumeric
ImportError: cannot import name oldnumeric
"

What's going on with oldnumeric?

xavier


More information about the SciPy-Dev mailing list