ld:在g95上找不到架构x86_64的符号

时间:2013-08-25 22:45:07

标签: python macos scipy fortran

当我尝试安装scipy时,我遇到了这个错误:

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

我使用mac ports安装了fortran编译器g95。使用brew安装不是一种选择。

命令是:

sudo pip install scipy

0 个答案:

没有答案