I am an absolute noob at this since I started recently. I am installing OpenCV for Tensorflow for a project. How To Run TensorFlow Lite on Raspberry Pi for Object Detection is the video i am using. I have Bookworm installed, on a Raspberry Pi 5
pip3 install opencv-python==3.4.11.41
is the command that I am running, although I get this error:
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> numpy
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
I have tried almost all the random solutions on the web, I have tried sudo apt-get
, pip3
, although nothing is working.