Skip to content
Advertisement

How do I upgrade to Python 3.6 with conda?

I want to get the latest version of Python to use f-strings in my code. Currently my version is (python -V):

JavaScript

How would I upgrade to Python 3.6?

Advertisement

Answer

Anaconda has not updated python internally to 3.6.

a) Method 1

  1. If you wanted to update you will type conda update python

  2. To update anaconda type conda update conda

  3. If you want to upgrade between major python version like 3.5 to 3.6, you’ll have to do

    JavaScript

b) Method 2 – Create a new environment (Better Method)

JavaScript

c) To get the absolute latest python (3.6.5 at time of writing)

JavaScript

You can see all this from here

Also, refer to this for force upgrading

EDIT: Anaconda now has a Python 3.6 version here

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement