我試圖用easy_install在OSX上安裝Rpy2。 sudo easy_install rpy2
我收到一條錯誤消息:在MAC上安裝Rpy2
Running rpy2-2.3.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-du_3ue/rpy2-2.3.3/egg-dist-tmp-GqSaS7 "/Library/Frameworks/R.framework/Resources/bin/R" CMD config --ldflags /Library/Frameworks/R.framework/Resources/bin/config: line 142: make: command not found /Library/Frameworks/R.framework/Resources/bin/config: line 143: make: command not found R was not built as a library
無效substring`
in string
error: Setup script exited with Problem while running
"/Library/Frameworks/R.framework/Resources/bin/R" CMD config --ldflags
我猜這個問題是有R,因爲它是不共享的庫。 我使用Python 2.7和R 2.15.2 請幫忙!
可能值得檢查easy_install安裝正確,看起來make不可用:'make:command not found' – 2013-03-04 02:35:46
您可能需要安裝Apple的開發工具(Xcode,AFAIR)。 – lgautier 2013-03-04 17:25:45