Conda 和 Anaconda 有什么区别?
问题描述
问题后更新:
有关详细信息,请参阅 Conda 简介.
See Introduction to Conda for more details.
问题:
当我尝试更新我的 anaconda 时,根据 文档,我应该使用以下命令:
I first installed Anaconda on my ubuntu at ~/anaconda
, when I was trying to update my anaconda, according to the documentation from Continuum Analytics, I should use the following commands:
conda update conda
conda update anaconda
然后我意识到我没有安装 conda,所以我使用 这里.
Then I realized that I did not have conda installed, so I installed it using the documentation from here.
conda安装后,运行conda update anaconda
,报如下错误:
After conda is installed, when I run conda update anaconda
, I got the following error:
错误:包 'anaconda' 没有安装在/home/xiang/miniconda 中
Error: package 'anaconda' is not installed in /home/xiang/miniconda
看来 conda 假设我的 anaconda 安装在 /home/xiang/miniconda
下,这是 NOT true.
It appears conda is assuming my anaconda is installed under /home/xiang/miniconda
which is NOT true.
问题:
- conda和anaconda有什么区别?
- 我如何告诉 conda 我的 anaconda 安装在哪里?
- What are the differences between conda and anaconda?
- How can I tell conda where my anaconda is installed?
解决方案
conda 是包管理器.Anaconda 是一组大约一百个包,包括 conda、numpy、scipy、ipython notebook 等.
conda is the package manager. Anaconda is a set of about a hundred packages including conda, numpy, scipy, ipython notebook, and so on.
您安装了 Miniconda,它是 Anaconda 的一个较小的替代品,它只是 conda 及其依赖项,而不是上面列出的那些.
You installed Miniconda, which is a smaller alternative to Anaconda that is just conda and its dependencies, not those listed above.
拥有 Miniconda 后,您可以使用 conda install anaconda
轻松将 Anaconda 安装到其中.
Once you have Miniconda, you can easily install Anaconda into it with conda install anaconda
.
相关文章