[SciPy-user] numpy - scipy version hell

James K. Gruetzner jkgruet at sandia.gov
Thu Oct 19 14:14:43 CDT 2006


I'm using Fedora core 5, that insect-laden wonder, which includes python 
2.4.3.  I'm trying to install numpy (scipy-core) and scipy (the rest).   I 
can't seem to get around package conflicts.  I've tried two methods, one in 
which numpy fails and one in which scipy fails.   This is the "scipy fails" 
one (I sent the numpy fails one to the numpy-discussions list).  

METHOD 2 (scipy fails)
OK, remove the previously installed numpy packages 
from /usr/lib/python2.4/site-packages.  Now use yum to install numpy 
0.9.8-1.fc5 from the extras repository.   Hooray, numpy imports fine!
So, now time to download scipy, v.0.5.1.  Untarball it and cd.  IT fails to 
install, with the following (long) error message:

non-existing path in 'Lib/maxentropy': 'doc'
Traceback (most recent call last):
  File "setup.py", line 55, in ?
    setup_package()
  File "setup.py", line 47, in setup_package
    configuration=configuration )
  File "/usr/lib/python2.4/site-packages/numpy/distutils/core.py", line 140, 
in setup
    config = configuration()
  File "setup.py", line 19, in configuration
    config.add_subpackage('Lib')
  File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 
740, in add_subpackage
    caller_level = 2)
  File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 
723, in get_subpackage
    caller_level = caller_level + 1)
  File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 
670, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "./Lib/setup.py", line 22, in configuration
    config.add_subpackage('ndimage')
  File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 
740, in add_subpackage
    caller_level = 2)
  File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 
723, in get_subpackage
    caller_level = caller_level + 1)
  File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 
655, in _get_configuration_from_setup_py
    ('.py', 'U', 1))
  File "Lib/ndimage/setup.py", line 3, in ?
    from numpy.numarray import get_numarray_include_dirs
ImportError: No module named numarray

I suspect that there's a bit of out-of-sync with the packages, but am not 
sure.  Bottom line question:  how do I get both installed at once?

Thanks!
   James




-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/scipy-user/attachments/20061019/d5e8c8a2/attachment.bin 


More information about the SciPy-user mailing list