Anaconda installation and configuration tutorial

Anaconda is an open source Python distribution that includes Conda, Python, and a bunch of installed toolkits like: numpy, pandas, etc. Among them, Conda is an open source package and environment manager, which can be used to install different versions of software packages and their dependencies on the same machine (computer), and can switch between different environments. A must-have platform for deep learning.

1. First go to the official website https://repo.anaconda.com and select View All Installers
insert image description here

2. Here are the various installation package versions of anaconda. anaconda3 represents the version of Python3, followed by the release date. I chose the latest Windows version of 2020.02, and it is 64-bit. Then download it locally.
insert image description here

3. Run the installation package and follow each step below.
insert image description here
insert image description here
insert image description here
This step is the installation path, I put it in the anaconda3 folder in the D drive.
insert image description here
This step shows that the default environment is Python3.7, and then install
insert image description here
waits for the installation. The installation process will not be very long. I heard that the three links will accelerate.
insert image description here
insert image description here
insert image description here
Remove the tick in the two boxes, and then Finish is completed, and the installation is successful.
insert image description here
4. Test whether the installation is successful

Open the anaconda command line in the menu bar
insert image description here
After clicking, if you can see base in the brackets on the left side of the command line, it means the installation is successful!
insert image description here

5. Create and activate the environment

conda create -n py37 python=3.7Is to create the python3.7 version, the environment named py37.

Here the environment name and python version can be specified by yourself.
insert image description here
Enter y, and then press Enter to download. After downloading, it will prompt done, like this, the download is complete.
insert image description here
conda activate py37Activate the environment.

It can be seen that the previous base has become py37, which means that we have entered the environment, and you can directly understand the environment as a folder.
insert image description here
conda deactivateExit the environment.

It is the same as cd switching directories when we usually use the cmd command line.
insert image description here

If you want to know more about the environment operation of anaconda, you can see here: anaconda create and delete environment

Tags: Anaconda installation and configuration tutorial

deep learning anaconda Pytorch deep learning Neural Networks computer vision

Related: Anaconda installation and configuration tutorial