create anaconda python environment with all packages

Question:

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.enter image description here

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.

Asked By: Neeraj Hanumante

||

Answers:

To install all of the packages that Continuum includes in its default Anaconda installer, the simplest command is this:

conda create -n env_full anaconda

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
Answered By: Michael Grant

Anaconda ships with a root env, this is named as base. You can use this as it is or clone a new environment from it.

if you just want a environment with all the packages for day to day then you can use the base enviornment itself.

you can list the all available conda env on your machine as follows

 conda info --env

you will see a enviornment name base, activate it to use it

 source activate base

You can verify all the packages available in the env with following command ( This work with any env created with conda)

 conda list -n base

As I said above if you want a different env then you can clone base using following command

conda create --name <env_name> --clone base
Answered By: DevC

When I run this command:
conda create -n env_full anaconda>

I get a PackageNotFoundError. So I create a simple environment:
conda create -n env_full

and use this command to install all the anaconda default packages:
conda install anaconda

Answered By: xiaoxin
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.