Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Anaconda navigator only showing one python version

I have installed Anaconda in order to set up different environments for python. I know that I can create different environments with different python versions with the shell, like so:

conda create -n myenv python=3.6

How would I be able to create a new environment with Python 3.6 using the Anaconda navigator. For some reason it only shows Python version 3.7

Anaconda Navigator

like image 293
Tom el Safadi Avatar asked Nov 20 '19 00:11

Tom el Safadi


People also ask

Does anaconda use Python 2 or 3?

Anaconda supports Python 3.7, 3.8, 3.9 and 3.10. The current default is Python 3.9.

Does anaconda support multiple Python environment?

can I install multiple versions of Python on my machine? can I install multiple versions of Anaconda? You can but because of the answer above you don't need to and shouldn't. Instead of multiple Anaconda versions, just create multiple environments with the versions of packages you need.


Video Answer


3 Answers

I had the same issue and was hoping there would be an answer here. I finally found the following which directly answers your question. Thanks for asking!

https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-python.html

Specifically, do the following:

Installing a different version of Python. Create the new environment:

To create the new environment for Python 3.6, in your terminal window or an Anaconda Prompt, run:

conda create -n py36 python=3.6 anaconda

You need not go any further. From this point forward, every time you create a new environment, you will see:

enter image description here

like image 96
Casa de Spider Avatar answered Oct 23 '22 06:10

Casa de Spider


I know this answer has been accepted a while ago but, from Anaconda Navigator, clicking "Update index..." button on the default environment fixed it for me (without having to use conda command prompt) enter image description here

like image 42
parphane Avatar answered Oct 23 '22 07:10

parphane


In addition to installing the metapackage

conda create -n py36 python=3.6 anaconda

you must activate the environment (also in anaconda prompt)

conda activate py36
like image 1
hyle Avatar answered Oct 23 '22 08:10

hyle