Closed m-anish closed 8 months ago
Please only report one bug per issue!
Describe the bug import picamera2 fails
import picamera2
To Reproduce Steps to reproduce the behaviour. Wherever possible, please include a small self-contained Python script that shows the bug.
sudo apt install python3-picamera2
Expected behaviour A clear and concise description of what you expected to happen.
Console Output, Screenshots If applicable, any console output or screenshots that show the problem and associated error messages.
ImportError: cannot import name 'V4L2_CID_MPEG_VIDEO_H264_PROFILE' from 'v4l2' (/usr/lib/python3/dist-packages/v4l2.py)
Hardware : Please state what kind of Pi you are using, and what camera is attached.
Additional context Add any other context about the problem here.
Mea Culpa - Issue resolved after sudo apt-get -y upgrade
sudo apt-get -y upgrade
Please only report one bug per issue!
Describe the bug
import picamera2
failsTo Reproduce Steps to reproduce the behaviour. Wherever possible, please include a small self-contained Python script that shows the bug.
sudo apt install python3-picamera2
import picamera2
Expected behaviour A clear and concise description of what you expected to happen.
Console Output, Screenshots If applicable, any console output or screenshots that show the problem and associated error messages.
ImportError: cannot import name 'V4L2_CID_MPEG_VIDEO_H264_PROFILE' from 'v4l2' (/usr/lib/python3/dist-packages/v4l2.py)
Hardware : Please state what kind of Pi you are using, and what camera is attached.
Additional context Add any other context about the problem here.