-
Where did you get the camera module(s)?
Amazon -
Model number of the product(s)?
OV5647 5MP -
What hardware/platform were you working on?
Raspberry Pi 4B 4GB, latest Raspberry Pi OS (Bullseye) -
Instructions you have followed. (link/manual/etc.)
Cloned the GitHub repository per instructions that came with the camera.
Enabled i2c as suggested
Ran the demo Motorized_Focus_Camera_Preview.py -
Problems you were having?
Python error:
ModuleNotFoundError: No module named ‘thread’ -
The dmesg log from your hardware?
Not applicable -
Troubleshooting attempts you’ve made?
Fixed by changing line 5 in the example from “import thread” to “import _thread as thread” -
What help do you need?
No help required, just wanted to point out this error.