[SciPy-user] NumPy and SciPy installation
Nils Wagner
nwagner at iam.uni-stuttgart.de
Tue Jan 9 09:53:12 EST 2007
Jens Brandenburg wrote:
> Hello,
>
> I am trying to install numpy on 64bit Linux platform (SuSE 10.2). It
> doesn't work out of the box... But I am sure that it's not a big deal
> or that the problem has been solved some time ago. Due to the lack of
> time I hope that by asking the experts, I am getting it running as
> fast as possible...
>
> This is how the inst.log looks like:
>
> Running from numpy source directory.
> Traceback (most recent call last):
> File "setup.py", line 89, in <module>
> setup_package()
> File "setup.py", line 59, in setup_package
> from numpy.distutils.core import setup
> File "/home/CPFS/brandenb/downloads/numpy/numpy/distutils/core.py",
> line 24, in <module>
> from numpy.distutils.command import build_ext
> File
> "/home/CPFS/brandenb/downloads/numpy/numpy/distutils/command/build_ext.py",
> line 16, in <module>
> from numpy.distutils.system_info import combine_paths
> File
> "/home/CPFS/brandenb/downloads/numpy/numpy/distutils/system_info.py",
> line 159, in <module>
> so_ext = distutils.sysconfig.get_config_vars('SO')[0] or ''
> File "/usr/lib64/python2.5/distutils/sysconfig.py", line 493, in
> get_config_vars
> func()
> File "/usr/lib64/python2.5/distutils/sysconfig.py", line 352, in
> _init_posix
> raise DistutilsPlatformError(my_msg)
> distutils.errors.DistutilsPlatformError: invalid Python installation:
> unable to open /usr/lib64/python2.5/config/Makefile (No such file or
> directory)
>
> Thank you a lot in advance!
>
> Cheers,
>
> Jens Brandenburg
IIRC numpy/scipy is installed in /usr/local/lib64/python2.5 by default
(on openSUSE10.2).
Did you use
python setup.py install ? (as root)
Nils
More information about the SciPy-User
mailing list