create anaconda python environment with all packages

PythonAnaconda

Python Problem Overview


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.

Python Solutions


Solution 1 - Python

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

Solution 2 - Python

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

Solution 3 - Python

wenn i use this command: > conda create -n env_full anaconda>

I got the PackageNotFoundError. So i create the simple environemnt: > conda create -n env_full >

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionNeeraj HanumanteView Question on Stackoverflow
Solution 1 - PythonMichael GrantView Answer on Stackoverflow
Solution 2 - PythonDevCView Answer on Stackoverflow
Solution 3 - PythonxiaoxinView Answer on Stackoverflow