5

When I try to install the scipy I have got this error:

ld: symbol(s) not found for architecture x86_64

error: Command "/opt/local/bin/g95 -shared -shared build/temp.macosx-10.8-intel-2.7/build/src.macosx-10.8-intel-2.7/scipy/interpolate/src/dfitpackmodule.o build/temp.macosx-10.8-intel-2.7/build/src.macosx-10.8-intel-2.7/fortranobject.o build/temp.macosx-10.8-intel-2.7/build/src.macosx-10.8-intel-2.7/scipy/interpolate/src/dfitpack-f2pywrappers.o -Lbuild/temp.macosx-10.8-intel-2.7 -lfitpack -o build/lib.macosx-10.8-intel-2.7/scipy/interpolate/dfitpack.so" failed with exit status 1

----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/private/tmp/pip-build-root/scipy/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-IUskjj-record/install-record.txt --single-version-externally-managed failed with error code 1 in /private/tmp/pip-build-root/scipy
Storing complete log in /Users/MyUser/Library/Logs/pip.log

I installed the fortran compiler g95 using mac ports. Install using brew is not an option.

the command is:

sudo pip install scipy
2
  • If I remember well, OSX uses Mach-O object format, with the capability of storing in the same file, code fore multiple architectures. I suspect your message means you have only 32 bit binaries.
    – user1220978
    Aug 26, 2013 at 3:51
  • Scipy is a bit difficult to install. On Linux, I had to download the sources via pip and then follow the instructions from scipy.org. Btw, I think gfortran is preferred over g95.
    – Stefan
    Aug 26, 2013 at 8:53

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.