I did uninstall picamera2 with pip and then apt installed it.
Demo capture_images_by_key.py does no work since keyboard module is missing.
"pip install keyboard" does not work, asks me to try to apt install python3-xyz for module xyz.
But there is no python3-keyboard.
I tried to work in Python virtual environment, and "~/venv/bin/pip install picamera2" worked.
But running picamera2 script with ~/venv/bin/python says that libcamera module is missing.
How can I install that in virtual env?
P.S:
Is there any alternative to get keyboard input with apt installed picamera2?
Demo capture_images_by_key.py does no work since keyboard module is missing.
"pip install keyboard" does not work, asks me to try to apt install python3-xyz for module xyz.
But there is no python3-keyboard.
I tried to work in Python virtual environment, and "~/venv/bin/pip install picamera2" worked.
But running picamera2 script with ~/venv/bin/python says that libcamera module is missing.
How can I install that in virtual env?
P.S:
Is there any alternative to get keyboard input with apt installed picamera2?
Statistics: Posted by HermannSW — Wed Jun 26, 2024 1:35 pm