raspberrypi / picamera2

New libcamera based python library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[HOW-TO] Manipulate Pi Camera from Thonny

cbarreto97 opened this issue · comments

I want to use a Raspberry Pi camera module 3 with my Raspberry Pi 4 B to recognize some ArUco markers but I've run into so many errors. My goal right now is to be able to manipulate the camera through Thonny but it hasn't worked and now I have a ModuleNotFound error for PyQt5 but it does not let me install it through Thonny and I've tried to it is already pre-installed with my raspberry pi (I tried to install it through a terminal and tried to download it within the virtual environment that I am using but the requirements were already satisfied.) Is there another way to redirect PyQt5 to the virtual environment that I'm using?image

Normally the easiest answer is to create your virtual environment with the --system-site-packages option, which should make all the pre-installed Python packages available. Does that work for you? I'm afraid I don't specifically know anything about Thonny.