3
我试图用建设(setup.py)
python setup.py build
建立一个Python模块(scikit.timeseries),但它的示数出像这样的时候选择GCC版本:
/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c'
gcc-4.0: scikits/timeseries/src/cseries.c
sh: gcc-4.0: command not found
这是因为我在OSX狮子和gcc-4.0不退出,GCC做虽然:
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.0
,但它的别名与gcc不GCC-4.0。我如何告诉setup.py寻找gcc而不是gcc-4.0?
谢谢!