CSI Camera cannot be turned on after installing the YOLOv5 dependency package

Hi,
Please share which camera module you are using. And for running Yolo models, we suggest use DeepStream SDK. You can install it through SDKManager and try Yolov2, Yolov3 in the package. And can check:
GitHub - NVIDIA-AI-IOT/yolo_deepstream: yolo model qat and deploy with deepstream&tensorrt
Run YOLOv5 in Deepstream with .engine generated alternatively - #4 by Fiona.Chen