conda install downgrade python version

Very firstly check the current version using command python --version. Then on anaconda prompt type the command conda search python which will list all the python versions available till date. Then from that list select your version and type conda install python=3.5.2 or any of your choice


There are two ways to downgrade python in anaconda.

1. Downgrade python in the active environment

(This can lead to conflicts with installed packages for higher python versions)

conda activate nameOfYourEnvironment
conda install python=3.3

2. Create a new environment

(This is a more safer way, but you need to install all necessary packages again)

conda activate base
conda create --name env_name python=3.3

Hint: Use conda list before creating a new environment to get the names of all installed packages in the actual environment.


If you want to check your installed environments do:

conda env list

If you got problems in installing, make sure to run the shell as administrator (always recommended).


You can make environments with other versions of Python using this command:

conda create --name py33 python=3.3
source activate py33

If you want to set specific version, use it like this:

WARNING: This command will overwrite the default python version system-wise

conda install python=3.6


To create environment with a specific version, you can do:

conda create -n $PYTHON36_ENV_NAME python=3.6 anaconda  # set custom env name

The anaconda at the end allows the env to use all anaconda packages


For more information refere to Anaconda documentation