在Visual Studio上安装rpy2

时间:2018-06-15 22:40:18

标签: python visual-studio visual-studio-2017 rpy2

我试图通过Visual Studio Community 2017在我的笔记本电脑上安装rpy2。但是,我不断收到这样的错误:

----- Installing 'rpy2==2.9.3' -----
Collecting rpy2==2.9.3
Using cached https://files.pythonhosted.org/packages/88/f7/788e5e1587bc1ab48b5b0467f9c3a08ef5aadbd993ed835559a10e452121/rpy2-2.9.3.tar.gz
Complete output from command python setup.py egg_info:
Error: Tried to guess R's HOME but no command 'R' in the PATH.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\ONAV- 
M~1\AppData\Local\Temp\pip-install-y8xk17mw\rpy2\
----- Failed to install 'rpy2==2.9.3' -----

是否有解决方案,以便我可以在Visual Studio上安装rpy2?我没有安装python库的经验,我真的想把所有东西放在一个地方......

0 个答案:

没有答案