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

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

问题描述

我想使用 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.

推荐答案

你的意思肯定不是安装所有可用的包,对吧?仅 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天全站免登陆