USB Camera Problem

Hi all,

I use python and opencv and these command, it always says that.
Because I just wanna to test that.
How to solve that? Thank you.

cap = cv2.VideoCapture(0)


cap = cv2.VideoCapture(-1)

[ WARN:0] global /tmp/pip-req-build-h8zflkjv/opencv/modules/videoio/src/cap_v4l.cpp (890) open VIDEOIO(V4L2:/dev/video0): can’t open camera by index

@MingGatsby Maybe /dev/video1 is you usb camera. You can use this command ls /dev/video* to check before and after inserting the USB camera to confirm your USB camera node