picamera icon indicating copy to clipboard operation
picamera copied to clipboard

Install picamera on a non-RPi machine

Open Sanazjd opened this issue 5 years ago • 3 comments

I want to run picamera on a server (Ubuntu machine) that orders clients (8 raspberry pis) to capture images simultaneously. For this, I need to install picamera on the server which is not a raspberry pi and do not have the Pi camera. Conventional ways of installation like "pip3 install picamera" is not working obviously, with this error

ValueError: Unable to determine if this system is a Raspberry Pi

Is there any way to install picamera on a non-RPi machine?

Sanazjd avatar Oct 30 '20 16:10 Sanazjd

You cannot install picamera on other machines and it doesn't seem necessary for your use case. Installing it on the server means you would have a camera connected to your server which is not what you want I think. You have just need to have it installed on the raspberry pis and your server sends commands the network.

Esser50K avatar Nov 06 '20 16:11 Esser50K

I have a use case like this where I'm trying to install picamera in a docker image that does get deployed on RPi's. Unfortunately I have to build on an actual RPi whereas all of the other parts of my codebase can be built on other hardware.

optimuspaul avatar Dec 16 '20 23:12 optimuspaul

I installed it on all the RPis and just send the command through server. I was worried about the synchronization, because I need to run other stuff tied to imaging, but it worked.

Sanazjd avatar Dec 16 '20 23:12 Sanazjd