Install Anaconda3
1. Anaconda3 download
Anaconda3 Download
Official website download link: https://www.anaconda.com/products/individual
If the official website download speed is too slow, you can download the Baidu Cloud Anaconda file I uploaded
Baidu cloud link: https://pan.baidu.com/s/1SK_Hc9tZ5iIXgq_tshbu_Q
Extraction code: cqdy
2. Anaconda3 installation
Find Anaconda3 in your download directory and click Install
During the installation process, select other options according to your own habits. But the first option in this step must be checked.
After the installation is complete, go to the start menu and you will see the following picture:
the installation has been completed. During the installation process, you need to pay attention to the selection of the installation path, which is generally the default. If the path is changed, you may need to set the environment variable to the corresponding path.
2. Create a suitable yolov5 python environment
1. Create a yolov5 python environment (created in CMD or Anaconda Prompt (Anaconda3))
(1.) WIN+R brings up the run box, enter CMD, press Enter
and enter:
conda create -n XXX (environment name) conda create -n XXX (environment name) python=XX (the python you want to install in this environment version)
taking python3.8 as an example,
the code is as follows (example):
conda create -n yolo python=3.8
Hitting the Enter key will let you choose y/n, so naturally enter y
start download
After completion, it will be displayed as follows
3. We can enter the environment to see what we have configured. Enter the name of the environment you want to enter.
The code is as follows (example):
conda activate yolo
Enter conda list to view the environment configuration.
The code is as follows (example):
conda list
(2.) Created in Anaconda3
In the start menu, all programs find Anaconda Prompt (Anaconda3)
Click on Environments on the left to see our existing environment
Click Cteate to create an environment
Enter the environment name and the Python version used and create
3. Also look at the things we configured
The above is just the most basic part of the environment, and I hope it will be helpful to Xiaobai like me. Welcome to criticize and correct, discuss and learn together!