close

How do I upgrade to Python 3.6 with conda?

Hello Guys, How are you all? Hope You all Are Fine. Today We Are Going To learn about How do I upgrade to Python 3.6 with conda in Python. So Here I am Explain to you all the possible Methods here.

Without wasting your time, Let’s start This Article.

Table of Contents

How do I upgrade to Python 3.6 with conda?

  1. How do I upgrade to Python 3.6 with conda?

    Creating a new environment will install python 3.6:
    $ conda create --name 3point6 python=3.6 Fetching package metadata ....... Solving package specifications: ..........

  2. upgrade to Python 3.6 with conda

    Creating a new environment will install python 3.6:
    $ conda create --name 3point6 python=3.6 Fetching package metadata ....... Solving package specifications: ..........

Method 1

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 conda install python=$pythonversion$

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

conda create --name py36 python=3.6

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

conda create --name py365 python=3.6.5 --channel conda-forge

Method 2

Creating a new environment will install python 3.6:

$ conda create --name 3point6 python=3.6
Fetching package metadata .......
Solving package specifications: ..........

Package plan for installation in environment /Users/dstansby/miniconda3/envs/3point6:

The following NEW packages will be INSTALLED:

    openssl:    1.0.2j-0     
    pip:        9.0.1-py36_1 
    python:     3.6.0-0      
    readline:   6.2-2        
    setuptools: 27.2.0-py36_0
    sqlite:     3.13.0-0     
    tk:         8.5.18-0     
    wheel:      0.29.0-py36_0
    xz:         5.2.2-1      
    zlib:       1.2.8-3 

Summery

It’s all About this issue. Hope all Methods helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which Method worked for you? Thank You.

Also, Read