Trouble building (in local mode) on a Raspberry Pi 4
See original GitHub issueFinally got this working on a Pi Zero W by changing the GPU memory settings.
Moving to a Raspberry Pi 4, with local deployment, and after balena push x.x.x.x
some services failed to build:
balena-cam: manifest for balenalib/raspberrypi4-64-debian:stretch-20190612 not found
Changed first line of Dockerfile.template to
FROM balenalib/%%BALENA_MACHINE_NAME%%-debian:stretch
Now got the error
[Build] [balena-cam] E: Unable to locate package libjasper-dev
Commented out the line for that in the same dockerfile.template, but I’m sure it wouldn’t be there if it wasn’t needed, so I’m sure that’ll cause problems down the line.
Now getting the error:
[Build] [balena-cam] Collecting aiohttp
[Build] [balena-cam] Downloading https://www.piwheels.org/simple/aiohttp/aiohttp-3.6.2-py3-none-any.whl (441kB)
[Build] [balena-cam] Collecting aiohttp_basicauth==0.1.3
[Build] [balena-cam] Downloading https://www.piwheels.org/simple/aiohttp-basicauth/aiohttp_basicauth-0.1.3-py3-none-any.whl
[Build] [balena-cam] ERROR: Could not find a version that satisfies the requirement aiortc==0.9.11 (from versions: none)
[Build]
[Build] [balena-cam] ERROR: No matching distribution found for aiortc==0.9.11
[Build]
[Build] [balena-cam] Removing intermediate container 0ba8bf495a40
Some services failed to build:
balena-cam: The command '/bin/sh -c pip3 install aiohttp aiohttp_basicauth==0.1.3 aiortc==0.9.11 numpy==1.15.4 opencv-python==3.4.4.19 --index-url https://www.piwheels.org/simple' returned a non-zero code: 1
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (15 by maintainers)
Top Results From Across the Web
Trouble building (in local mode) on a Raspberry Pi 4 #57
This command works: docker build -f Dockerfile.template -t balena-cam:latest . And this command fails with dependency resolution errors: balena ...
Read more >Raspberry Pi Documentation - Configuration
The official documentation for Raspberry Pi computers and microcontrollers. ... Select your local time zone, starting with the region, e.g. Europe, ...
Read more >How to Build a Raspberry Pi Server for Development - Toptal
First, you need to find the IP address of your Raspberry Pi in your local network. This can be done by connecting to...
Read more >Get started on developing with Raspberry Pi 4 and Python
To continue learning, explore parts of the guide in more detail: Learn more about local mode, which allows you to build and sync...
Read more >How to Build a Raspberry Pi Router - Step by Step Tutorial
Since Raspberry Pi 4's are normally booted with an sd card, the probability that the sd card gets corrupted is very high. This...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@robot-army @schottsfired @ChadTaljaardt I am closing this. There was peer dependency issue, which I fixed, you can use the master branch (v0.1.0). If you encounter any issues feel free to re-open it, or better open another issue.
OK, I just reverted my other changes and tried that, and it’s still coming with the error below.