Tag: python
-
Setting up Raspbian on Mac and image cloning for easier deployment(2021)
I had an old post here that details the setup of Raspbian Lite on Mac, now I am going to give an updated method to setup Raspberry Pis. The Pi will be used mainly as a development device and middleware component. As such work will be primarily done in Docker for easier deployment in the…
-
Installing flask with numpy on Docker (Raspberry Pi)
For some reason I can’t just install numpy using: pip install numpy Or by putting it in a requirements.txt file. Right now i am using the following versions: Docker version 18.05.0-ce, build f150324 Linux raspberrypi3-04 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l GNU/Linux FROM resin/raspberrypi3-python:3.6 (in dockerfile) Somehow it gives me this error…
-
Using pi camera with Docker and flask
Error encountered: * failed to open vchiq instance sudo usermod -a -G video $(whoami) docker-compose, make sure to add the vchiq device version: ‘3’ services: flask-picamera: build: context: ./pi_site dockerfile: Dockerfile ports: – “5000:5000” volumes: – ./pi_site:/app container_name: pi_site devices: – “/dev/vchiq” DockerFile, do not use the slim version of python. FROM resin/raspberry-pi-python:2.7-wheezy COPY .…