简体   繁体   English

安装Rpy2 Windows 10时Egg_info错误

[英]Egg_info error when installing rpy2 windows 10

I want to install rpy2 and next install anaconda with spyder to use python. 我想安装rpy2 ,然后用spyder安装anaconda以使用python。

I tried this command 我试过这个命令

py -m pip install rpy2

but it gave me this error 但这给了我这个错误

Command "python setup.py egg_info" failed with error code 1 in C:\Users\Robert\AppData\Local\Temp\pip-build-o27u4aog\rpy2\

I tried to install unroll as well with similar pip command and it gave me similar error 我也尝试使用类似的pip命令安装unroll ,这给了我类似的错误

Command "python setup.py egg_info" failed with error code 1 in C:\Users\Robert\AppData\Local\Temp\pip-build-nyfqo09i\uroll\

Like suggested for example here I succesfully did 这里建议的那样,我成功完成了

py -m pip install --upgrade setuptools

and

py -m pip install ez_setup

but nothing helped. 但没有任何帮助。 I had to unistall anaconda to --upgrade setuptools looking foward to install rpy2 but now I dont know what to do more. 我不得不--upgrade setuptools anaconda--upgrade setuptools以便安装rpy2但是现在我不知道该怎么做。

I am using windows 10, R 3.2.5 and python 3.5. 我正在使用Windows 10, R 3.2.5python 3.5.

Any suggestions? 有什么建议么?

Use precompiled binaries. 使用预编译的二进制文件。

See: http://rpy2.readthedocs.io/en/default/overview.html#microsoft-s-windows-precompiled-binaries 请参阅: http : //rpy2.readthedocs.io/en/default/overview.html#microsoft-s-windows-precompiled-binaries

The main page for rpy2 will be updated to indicate that pip install is not the easiest way to install rpy2 on Windows. rpy2的主页将更新,以指示pip install不是在Windows上安装rpy2的最简单方法。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio,Python,命令“ python setup.py egg_info”在C:\\ Users \\…\\ AppData \\ Local \\ Temp \\ pip-install-953alcay \\ rpy2 \\中失败,错误代码为1 - Visual Studio, Python, Command “python setup.py egg_info” failed with error code 1 in C:\Users\…\AppData\Local\Temp\pip-install-953alcay\rpy2\ 在 Windows 上安装 rpy2 - Installing rpy2 on windows Travis CI:安装rpy2时出错 - Travis CI: error when installing rpy2 安装 lshash 时“python setup.py egg_info”失败,错误代码为 1 - "python setup.py egg_info" failed with error code 1 when installing lshash 安装软件包时出现命令“ python setup.py egg_info”错误-Python - Getting Command “python setup.py egg_info” error when installing packages - Python 安装Shapely时,“ python setup.py egg_info”失败,错误代码为1 - “python setup.py egg_info” failed with error code 1 when installing Shapely 通过pip安装时,获取命令“ python setup.py egg_info”失败,错误代码为1 - Getting Command “python setup.py egg_info” failed with error code 1 when installing via pip 安装pygame python setup.py egg_info时出错 - Error installing pygame python setup.py egg_info 安装scikit-gpuppy时,“ setup.py egg_info”失败,错误代码为1 - setup.py egg_info" failed with error code 1 when installing scikit-gpuppy 使用python setup.py egg_info时安装scikits.audiolab时出错 - Error installing scikits.audiolab when using python setup.py egg_info
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM