Dear all I am trying to get numpy working with MacOSX 10.4 on an intel processor. I had it working for Python2.3.5, but after installing Python 2.4 it didn't work on either python version.
After inputing: sudo python setup.py build and then sudo python setup.py install and also trying to load up a basic array, I get the following errors. The errors that I get repeatedly during the installation process seem to mainly be (without showing you the entire massive output, unless you need to see it): building extension "numpy.core.umath" sources adding 'build/src.darwin-8.7.1-i386-2.3/numpy/core/config.h' to sources. adding 'build/src.darwin-8.7.1-i386-2.3/numpy/core/__ufunc_api.h' to sources. adding 'build/src.darwin-8.7.1-i386-2.3/numpy/core/src' to include_dirs. numpy.core - nothing done with h_files= ['build/src.darwin-8.7.1-i386-2.3/numpy/core/config.h', 'build/src.darwin-8.7.1-i386-2.3/numpy/core/__multiarray_api.h', 'build/src.darwin-8.7.1-i386-2.3/numpy/core/__ufunc_api.h'] building extension "numpy.core._dotblas" sources adding 'numpy/core/blasdot/_dotblas.c' to sources. building extension "numpy.lib._compiled_base" sources building extension "numpy.dft.fftpack_lite" sources building extension "numpy.linalg.lapack_lite" sources adding 'numpy/linalg/lapack_litemodule.c' to sources. building extension "numpy.random.mtrand" sources customize NAGFCompiler customize AbsoftFCompiler customize IbmFCompiler Could not locate executable g77 Could not locate executable f77 Could not locate executable gfortran Could not locate executable f95 customize GnuFCompiler customize Gnu95FCompiler customize G95FCompiler customize GnuFCompiler customize Gnu95FCompiler customize NAGFCompiler customize NAGFCompiler using config gcc options: '-fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes' compile options: '-Inumpy/core/src -Inumpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3 -c' gcc: _configtest.c _configtest.c:7:2: error: #error No _WIN32 _configtest.c:7:2: error: #error No _WIN32 The above lines of output are repeated a few times. If it makes any difference, which I am sure that it does, I am running on an intel chip. In Python, when typing >>> from numpy import * I get: Running from numpy source directory. Then trying to make an array, I get: >>> vector = array((2,3,4,5,6)) Traceback (most recent call last): File "<stdin>", line 1, in ? NameError: name 'array' is not defined This is in Python2.3.5. However, my collegue had numpy working on Python2.3.5, with the exact same machine just now. Just for background information, we are needing numpy to use pyhdf, to load and analyse hdf files. Thank you so much for your help. Sincerely Stephen Johnston p.s my apologies for the multiple requests, this one just a revised version of my previous attempt at asking for help ----------------------------------------------------------------------- This mail sent through University of Auckland http://www.auckland.ac.nz Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion