[SciPy-user] Bundling numpy/scipy with applications
Tue Nov 13 01:35:40 CST 2007
Johann Cohen-Tanugi wrote:
> do make install in platform/numpy fails exactly in the same way :
I forgot to tell you to do make clean before, otherwise, it indeed has
no way to fail in a different way :)
> [cohen@localhost numpy]$ make install
> [===== NOW BUILDING: numpy-184.108.40.206 =====]
> [fetch] complete for numpy.
> [checksum] complete for numpy.
> [extract] complete for numpy.
> [patch] complete for numpy.
> # Change default path when looking for libs to fake dir,
> # so we can set everything by env variables
> cd work/main.d/numpy-220.127.116.11 &&
> /usr/bin/python \
> setup.py config_fc --fcompiler=gnu config
> Traceback (most recent call last):
> File "setup.py", line 90, in <module>
> File "setup.py", line 60, in setup_package
> from numpy.distutils.core import setup
> line 39, in <module>
> import core
> line 8, in <module>
> import numerictypes as nt
> line 83, in <module>
> from numpy.core.multiarray import typeinfo, ndarray, array, empty, dtype
> ImportError: No module named multiarray
I really don't understand this error: you are configuring numpy for
compilation, so it should not try to import numpy.core (which has no way
to succeed since it is not built yet). IOW, it is a bootstrap error
(numpy build system tries to import numpy).
If after make clean, it still does not work, you may try to do:
And then go into work/ work/main.d/numpy-18.104.22.168/, and just execute
python setup.py config there, and give me the errors (you can also give
them to me in private).
More information about the SciPy-user