我正在尝试使用 easy_install 在 OSX 上安装 Rpy2。
sudo easy_install 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
无效的子字符串`
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 请帮忙!