Current location - Music Encyclopedia - Chinese History - Anaconda changes python version
Anaconda changes python version
Python defaults to the command prompt interface after installing Anaconda.

After installing Anaconda, change python version. We need to find the following from the Start menu:

Create a new python3.6 development environment in the existing anaconda to keep python3.8 at the same time.

When the newly installed anaconda created the python environment, there was only version 3.8, and there were no other options.

We need to create it through the command window.

Command: conda create -n Pytorch python=3.6

Successfully created.

Now, let's create a Python environment and use this management interface to create:

Click the selection box on the left side of python, select the corresponding version history according to the diagram, then select Apply, and then wait:

Then there is waiting. Then modify the system environment variables. The first thing to do is to find the installation directory of your Anaconda, find the envs folder, which will contain the python environment you created (explanation: each environment is defined as a folder), enter the envs folder, open the python folder, and copy its absolute path.

The change was successful.