使用所有软件包创建anaconda python环境 [英] create anaconda python environment with all packages

查看:123
本文介绍了使用所有软件包创建anaconda python环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用 all 所有Continuum包含在其默认Anaconda安装程序中的软件包来创建anaconda python环境.根据一些互联网搜索,我使用了以下命令:

I want to create an anaconda python environment with all of the packages that Continuum includes in its default Anaconda installer. Based on some internet search I used the following command:

conda create -n env_full python=3

但是,将只安装少数软件包.请查看屏幕截图.

However, only handful of packages would be installed. Please see the screen shot.

请指导我使用正确的命令.

Kindly guide me to use correct commands.

现在我正在尝试在台式计算机上执行此操作,但是我想将相同的原理应用于群集工具.

Right now I am trying to do this on a desktop computer, but I would like to apply the same principles to the cluster facility.

推荐答案

您肯定不是要安装 all 个可用软件包,对吗?仅Continuum的默认频道就有635个,其他频道上还有无数其他频道.

Surely you don't mean install all available packages, right? Continuum's default channel alone has 635 of them, and there are countless others on other channels.

我认为@cel就在上面,假设您专门要求安装Continuum包含在其默认的Anaconda安装程序中的所有软件包.如果是这样,那么最简单的命令是这样:

I think @cel is right above to assume that you're specifically asking to install all of the packages that Continuum includes in its default Anaconda installer. If that's the case, then the simplest command is this:

conda create -n env_full anaconda

这将安装最新版本的anaconda软件包集,该软件包集是为您的默认Python版本(最初用于安装Anaconda的版本)编译的.如果您想使用其他版本的Python创建环境,则只需将其添加到命令行即可;例如

This will install the latest version of the anaconda package set, as compiled for your default version of Python (the one you used to install Anaconda originally). If you'd like to create an environment with a different version of Python, then just add that to the command line; e.g.

conda create -n env_full anaconda python=2.7
conda create -n env_full anaconda python=3.5

这篇关于使用所有软件包创建anaconda python环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆