[obspy-users] obspy installation

Robert Barsch barsch at lmu.de
Fri Jan 21 17:23:07 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Xiao,

> The displayed message:
> Processing
> Running trunk/setup.py -q bdist_egg --dist-dir /home/obspy/obspy.signal/trunk/egg-dist-tmp-qkBZqK
> obspy/signal/src/fft/fftpack_litemodule.c:3:31: fatal error: numpy/arrayobject.h: No such file or directory
> compilation terminated.
> error: Setup script exited with error: command 'gcc' failed with exit status 1

gcc is complaining that some .h file for numpy is missing.

could you please run in python the following code:

>>> import os
>>> import numpy as np print
>>> os.path.join(os.path.dirname(np.core.__file__), 'include')

and check the resulting directory for numpy/arrayobject.h.

Something went wrong with your numpy installation if this file is missing.

Regards,
Robert


- -- 

Dr. Robert Barsch
Department of Earth and Environmental Sciences, Geophysics
LMU Munich
Theresienstr. 41/IV
D-80333 Munich
Germany

Tel: +49 (0) 89 2180 4201
Fax: +49 (0) 89 2180 9942010
Mail: barsch at lmu.de


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)

iEYEARECAAYFAk05susACgkQIVowwEY4LjTL0ACfXrvfnw7d7SZr6aSWF7gNUmTR
8jsAnA1nw4qPqjIU8W9CSmKp6BrXfpB5
=FWzK
-----END PGP SIGNATURE-----




More information about the obspy-users mailing list