close

How to change python version in Anaconda?

Hello Guys, How are you all? Hope You all Are Fine. Today We Are Going To learn about How to change python version in Anaconda 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 to change python version in Anaconda?

  1. How to change python version in Anaconda?

    A better (recommended) alternative is to create a virtual environment of the desired Python version and then use that environment to run Tensorflow and other scripts.

  2. change python version in Anaconda

    A better (recommended) alternative is to create a virtual environment of the desired Python version and then use that environment to run Tensorflow and other scripts.

Method 1

A better (recommended) alternative is to create a virtual environment of the desired Python version and then use that environment to run Tensorflow and other scripts.

To do that, you can follow the instructions given here.

BUT, if you don’t want to create a separate environment, then conda install python=<version> should do.

OR (not recommended) you can download the “latest” Anaconda installer with your required Python version bundled.

Method 2

Sometime command is not working as expected I was also facing same issue when I used this command.

conda install python=<version> 

then I have changed the Python version with the help of anaconda Navigator. I have create new enviornment and follow below instruction=>

  1. In Navigator, click the Environments tab, then click the Create button. The Create new environment dialog box appears.
  2. In the Environment name field, type a descriptive name for your environment.

3.In the Packages list select “Python” and in the Python version list select the version you want to use.

4.Click the Create button.

5.Navigator creates the new environment and activates it, as shown by the highlighted green bar. All actions take place in the active environment.

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