- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Clone the repo.
Update .env file with my container registry.
Build the entire solution by right-clicking on the deployment.template.json file
Building process built for bullseye OS environment. So it failed.
4.1. I searched the image for my stretch version and changed from balenalib/raspberrypi3-debian-python:3.7 to balenalib/raspberrypi3-debian:stretch but building failed because python version is 3.5.3.
4.2. I changed the image to balenalib/raspberrypi3-debian-python:3.7.
but building failed with the error.
4.3 I added libhdf5-100 to install list of CameraCapture and changed to azure-iot-device in requirement.txt of SenseHatDisplay.
4.4. built and pushed.
Right-click on the config/deployment.json.
After successful deployment, attach your USB camera to Raspberry Pi 3's hub.
Check the camera status by v4l2-ctl --list-devices and check the camera image by an application.
Open your IoT hub in Azure Portal and check CameraCapture.
Any log messages given by the failure
CameraCapture logs the following error:
Traceback (most recent call last):
File "./main.py", line 19, in <module>
import CameraCapture
File "/CameraCapture.py", line 10, in <module>
import cv2
File "/usr/local/lib/python3.7/site-packages/cv2/__init__.py", line 5, in <module>
from .cv2 import *
ImportError: libhdf5_serial.so.103: cannot open shared object file: No such file or directory
Expected/desired behavior
CameraCapture detects the camera and has no error.
OS and Version?
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Windows10 Home, Raspbian stretch, Docker
sudo iotedge Check from Raspbian says all running.
I tried to change from libhdf5-100 to libhdf5-103 but it was not found at build.
I have been building from Visual Studio Code. Changed but it always build using cache.
How can I re-build all?
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure