Article Directory
This article was first published on the WeChat public account Python for Finance
link: https://mp.weixin.qq.com/s/ajeJBSx3sc0kpRv6Z3EgWA
What is Anaconda? Why use Anaconda?
(1) Anaconda is a collection that includes Python, conda, and Python third-party libraries.
(2) With Anaconda installed, there is no need to download Python separately. It is strongly recommended that you install Anaconda directly instead of installing Python first and then Anaconda.
(3) Anaconda provides development tools such as Spyder and Jupyter notebook .
Anaconda download
Official website download
The official website is as follows:
https://www.anaconda.com/products/individual
We pull to the bottom and select the version that matches our operating system to download.
Tsinghua mirror website download
https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
Anaconda installation
(1) Double-click the program to install
(2) Click "Next"
3. Click "I Agree"
4. Click "Just me" or "All Users"
5. Installed on the C drive by default
If you want to customize the software installation location, such as creating a new "Anaconda3" folder in the D drive, click "Browse"
6. Do not check "Add anaconda to environment variables", click "Install"
7. Click "Next"
8. Click "Next"
9. Do not check the two options in the icon, click "Finish"
Configure environment variables
Open "Control Panel" - "System and Security" - "System" - "Advanced System Settings"
Click on "Environment Variables"
Double-click "Path" in "System Variables"
Enter the "Edit Environment Variables" page, click "New"
You need to configure three environment variables, namely:
(1) The root directory of Anaconda itself, that is, the folder set when installing Anaconda;
(2) Root directory of Anaconda + "\Scripts";
(3) Root directory of Anaconda + "\Library\bin"
For example, the root directory of Anaconda in this computer is:
"D:\Anaconda3", then the three paths that need to be added are:
D:\Anaconda3
D:\Anaconda3\Scripts
D:\Anaconda3\Library\bin
Check if the installation is successful
"Start → Anaconda3 (64-bit) → Anaconda Navigator". If Anaconda Navigator can be successfully started, the installation is successful.