我在Windows 8上安装了最新的Anaconda Python发行版,我试图安装rpy2软件包。我最初遇到了几个我能够避开的问题,但现在我被困在了一个我正在粘贴的特定错误之下。Windows 8上的rpy2安装错误(Anaconda)
命令
pip install rpy2
退出时将以下错误消息:
In file included from .\rpy\rinterface\_rinterface.c:58:0:
.\rpy\rinterface\_rinterface.h:8:15: fatal error: R.h: No such file or
directory
compilation terminated.
error: command 'gcc' failed with exit status 1
任何建议? R.h的路径包含在我的环境中。
尝试http://www.lfd.uci.edu/~gohlke/pythonlibs/#rpy2 – cgohlke