Home  >  Article  >  Backend Development  >  How to change the installation path of python

How to change the installation path of python

silencement
silencementOriginal
2019-05-22 11:21:1636293browse

How to change the installation path of python

Installation of Python: Anaconda or Miniconda, download and install from the official website; the download address is Downloads - Anaconda https://www.anaconda.com/download/

Note: During the installation process, check to add Anaconda to the environment variables. If you forget, manually add three environment variables: Anaconda2_root; Anaconda2_root\Scripts; Anaconda2_root\Library\bin (the root directory needs to be changed according to the path where you installed Python). The method is Computer-Properties-Advanced System Settings-Environment Variables. Add the above three variables under PATH in the system environment variables column. Note that they are separated by semicolons. For win10 system, just create a new one and add one variable per line; after adding it, verify whether the installation is successful by entering python in cmd; if no error is reported, the installation is successful.

Change the path as follows

How to change the installation path of python

Here you can customize the path to select the installation

How to change the installation path of python

Related learning recommendations: python tutorial

The above is the detailed content of How to change the installation path of python. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn