简体   繁体   English

conda install r-essentials 需要永远

[英]conda install r-essentials takes forever

I am unable to install the r-base and r-essentials packages into my conda environment.我无法将 r-base 和 r-essentials 包安装到我的 conda 环境中。 Whenever I run每当我跑

conda install -c r r-base r-essentials

I just get the Solving environment message for a good hour or more before I just exit out altogether.在我完全退出之前,我只是在一个小时或更长时间内收到Solving environment消息。 This even occurs when I create a brand new environment without any other packages before attempting to install r-base and r-essentials.当我在尝试安装 r-base 和 r-essentials 之前创建一个没有任何其他软件包的全新环境时,甚至会发生这种情况。

What is going on here and is there any way to fix this?这是怎么回事,有什么办法可以解决这个问题?

Try that. 试试吧。 conda install -c conda-forge r r-essentials . conda install -c conda-forge r r-essentials

For some reason there is a conflict when r-essentials and pip are in the same conda environment.出于某种原因,当 r-essentials 和 pip 在同一个 conda 环境中时会发生冲突。 You can solve it by creating a new environment that has the package directly:您可以通过创建一个直接包含该包的新环境来解决它:

conda create -n r_env -c r r-essentials

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM