digix wrote:I'm using OSMC, I've tried:
sudo apt-get update
sudo apt-get install python3-picamera
but I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-picamera
The same with python-picamera
Is python3-picamera included in OSM repositories?
If not how can I add it in the cleanest possible way?
Thank you very much for any help
I doubt it's in the OSM repos. You could try downloading the .deb package (apt-get download python3-picamera on a raspbian box), copy the file to your OSM box, and install it directly with "sudo dpkg -i python3-picamera_1.10-1_armhf.deb"; the dependencies of the package (python3, libraspberrypi00, python3-numpy) can either be installed before-hand or fixed up afterward with "sudo apt-get -f install".
However, be aware that camera support requires a lot more than just the libraries - as a rough rule of thumb if you can get the "raspistill" command working on the OS, picamera should be a doddle. If "raspistill" doesn't work, there's a lot more to do (camera firmware, vchiq device, etc.)