'WinError 2 The system cannot find the file specified when I python detect.py --source 0

I have some problem about yolov5 My step work

  1. create new env clone base(anaconda3) python 3.8.12
  2. activate env
  3. git clone https://github.com/ultralytics/yolov5
  4. pip install -r requirements.txt
  5. python detect.py --source 0

After that, This problem appeared how to fix that I don't know what is that mean. enter image description here

This is my info python 3.8.12 enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source