yolov5 environment configuration series tutorials under Windows11 (basic part)

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
insert image description here

2. Anaconda3 installation
Find Anaconda3 in your download directory and click insert image description hereInstall

During the installation process, select other options according to your own habits. But the first option in this step must be checked. insert image description here
After the installation is complete, go to the start menu and you will see the following picture:
insert image description here
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.
insert image description here
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
insert image description here
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

insert image description here

Hitting the Enter key will let you choose y/n, so naturally enter y

insert image description here

start download

insert image description here
After completion, it will be displayed as follows

insert image description here

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

insert image description here
Enter conda list to view the environment configuration.
The code is as follows (example):

conda list

insert image description here

(2.) Created in Anaconda3
In the start menu, all programs find Anaconda Prompt (Anaconda3)

insert image description here

Click on Environments on the left to see our existing environment

insert image description here
insert image description here

Click Cteate to create an environment

insert image description here
Enter the environment name and the Python version used and create

3. Also look at the things we configured

insert image description here

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!

Guess you like

Origin blog.csdn.net/u010416569/article/details/125981012