raspberrypi / picamera2

New libcamera based python library
BSD 2-Clause "Simplified" License
852 stars 181 forks source link

[HOW-TO] avoid Module Not Found errors #1019

Closed cbarreto97 closed 5 months ago

cbarreto97 commented 5 months ago

I've been trying to use my Raspberry Pi Camera Module 3 with a raspberry pi 4 B and using Thonny to try to manipulate the camera and eventually be able to recognize ArUco markers but trying to open the camera and take a simple photo through Thonny has been an uphill battle within itself (also, I am very new to this). I keep getting new "ModuleNotFound" errors everytime I run a code to take a photo. How can I avoid further errors? Where can I find the list of all the modules needed to run picamera2?

I'll attach a pdf file with details of what I've installed into my raspberry pi so far and a photo of the code I'm running.image

https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/standard14/uploads/core_electronics/original/2X/7/7655ed70232bb40ae4bc1f7cb62dd877735a34a9.pdf

davidplowman commented 5 months ago

This looks like a duplicate of issue https://github.com/raspberrypi/picamera2/issues/1018 - perhaps we can close this one and keep the discussion on the original one?