Anaconda installation and configuration (detailed version)

1 Introduction

When downloading Anaconda for the first time, there are often some problems, such as not knowing how to download, or the download is too slow, etc. Therefore, this article gives the following solutions and gives solutions with diagrams.

2. Download anaconda

First download anaconda, click to enter the mirror website of Tsinghua University, click to download:

The mirror website is shown in the following figure:

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

Just find the latest version that suits your computer system!

3. Anaconda installation

The picture below is from a long time ago, and the version I downloaded is the latest.

First open the downloaded interface:

Nothing to say, just click Next.


User agreement, click I Agree.

The choice of Just me and All users has little effect. It is best to choose All users. The reason is probably that if you have installed Python, you also have this option. It needs to be matched or it is more convenient when you set up multiple users on the computer (not sure, but it has little effect. Choose whatever you want), but I still choose Just me.

If your computer has several Users, you need to consider this issue. In fact, our computer generally has only one User, and we use it alone. If your computer has multiple users, select All Users. No matter which one you choose, the subsequent installation process is the same, so don't worry too much here, just choose Just Me here, and then continue to click Next.


The installation path is preferably a non-system disk. Of course, you can configure the environment later. And Chinese characters should not appear in the path. It is best to copy the installation path here, no matter whether the installation path is modified or not.


Be sure not to check the first option to configure the environment in this step, otherwise it is easy to make mistakes. I also read the tutorial of checking this environment, but from the experience of multiple installations, it will never be a problem to configure the environment by yourself if you don’t check it, but if you check it, sometimes an error will be reported, and sometimes it will succeed, which is quite random.

Finally, just wait for the installation, as shown in the figure below (may wait for a certain period of time):


It doesn't matter whether you check the two boxes in the above picture or not. It depends on whether you have a demand. I don't have any, so I didn't check it. The installation is now complete. Next, configure the environment and check it on cmd.

4. Configure the environment

There are three main environment configurations:

①anaconda installation path (for Python to check normal):

The path must be clearly remembered during the previous installation. I have been reminded to copy it before. Mine isF:\anaconda

②Installation path \Scripts(for conda to check normal):

Just find Scripts in the above path and copy the path, mine isF:\anaconda\Scripts

③Another path (I don’t know the difference between adding or not, and it will not affect the subsequent inspection):

Installation path\Library, such as mineF:\anaconda\Library

The above three environment variables are all through: this computer-right click-advanced system settings-environment variables-system variables-double-click path-create these variables.

5. Check

open anaconda prompt:

Enter the command conda list:

You can see many packages installed!

Guess you like

Origin blog.csdn.net/wzk4869/article/details/126714956