Install
Download anaconda first. This is the official website of anaconda: https://www.anaconda.com/
it is recommended to download from the mirror site, otherwise it will be a bit slow. The following is from Tsinghua Source:
https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
After downloading, double-click the installation package.
Welcome screen:
Check the agreement and agree
. Select the installation type (user and system).
Select the installation path and select
advanced settings (if the first item is not checked, you need to manually add environment variables later. If you check it, you no longer need to manually configure the environment variables. If you are too lazy to bother) , just check it directly).
Next is Next, finish.
Environment configuration
If you are installing anaconda and the red font is checked in the advanced options, there is no need to configure the environment here and you can skip it directly.
First check whether the python environment is configured, use the view version command:
win+r to open the cmd command line, enter python -V
or python --version
(the former is a capital V, a dash, the latter version is a lowercase version, two dashes) python must be followed by a space .
If the screenshot is similar to the one below, the installation is successful. My installation is python 3.8.3 version.
If the version can be displayed on the command line, the installation is successful and there is no need for the environment configuration operation mentioned below.
The following is the environment configuration:
right-click the start menu in the lower left corner, click system options (that is, Settings => System => About), scroll to the bottom, and find the advanced system settings.
Click Environment Variables
and click Edit in System Variables (if you are a user during installation, add it in the user) Create
the following variables in the editing interface (you need to find the directory where you installed anaconda)
My anaconda is installed in the F drive
F:\ProgramData\Anaconda3
F:\ProgramData\Anaconda3\Library\mingw-w64\bin
F:\ProgramData\Anaconda3\Library\usr\bin
F:\ProgramData\Anaconda3\Library\bin
F:\ProgramData\Anaconda3\Scripts
like this:
Finally, check the python version in the cmd command line to verify whether the installation is successful.
If it looks like this, the installation is successful.