Python Basics | Anaconda Installation

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.

image-20220425204248807

Tsinghua mirror website download

https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/

20220519083330

Anaconda installation

(1) Double-click the program to install

(2) Click "Next"

image-20220425204500487

3. Click "I Agree"

image-20220425204612685

4. Click "Just me" or "All Users"

image-20220425204637249

5. Installed on the C drive by default

image-20220425204654322

If you want to customize the software installation location, such as creating a new "Anaconda3" folder in the D drive, click "Browse"

image-20220425204720760

image-20220425204734534

image-20220425204751780

6. Do not check "Add anaconda to environment variables", click "Install"

image-20220425204814965

7. Click "Next"

image-20220425204845922

8. Click "Next"

image-20220425204909558

9. Do not check the two options in the icon, click "Finish"

image-20220425204938488

Configure environment variables

Open "Control Panel" - "System and Security" - "System" - "Advanced System Settings"

image-20220425205355802

image-20220425205408437

image-20220425205419170

Click on "Environment Variables"

image-20220425205446319

Double-click "Path" in "System Variables"

image-20220425205505882

Enter the "Edit Environment Variables" page, click "New"

image-20220425205529791

You need to configure three environment variables, namely:

(1) The root directory of Anaconda itself, that is, the folder set when installing Anaconda;

image-20220425205043085

(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

image-20220425205927306

Check if the installation is successful

"Start → Anaconda3 (64-bit) → Anaconda Navigator". If Anaconda Navigator can be successfully started, the installation is successful.

image-20230107200259143

Guess you like

Origin blog.csdn.net/mfsdmlove/article/details/129395956