Use Anaconda to install the specified version of the Python environment

  1. First, make sure that Conda is installed in your system, open the CMD window, and execute the command: conda --version
    Insert picture description here

  2. Check the current Python environment of your system and execute the command: conda info --envs. From the figure, we can see that there are two versions of Python environment in my machine.
    Insert picture description here

  3. Now, I want to add a Python3.3 environment, execute the command: conda create --name python33 python=3.3, in the command I set the environment name to be python33, and specify the Python version to be 3.3. After executing the command, Conda will download it automatically The latest version of Python3.3, and automatically deploy

  4. After the installation is complete, go to the pycharm software to change the Python version used to complete the Python switch

Guess you like

Origin blog.csdn.net/zhuan_long/article/details/114082988