48
votes

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.

2
conda create -n env_full python=3 anaconda=4 - cel

2 Answers

85
votes

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.

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

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
22
votes

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