Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4859

Troubleshooting • Re: Error in Thonny I dont understand

$
0
0
From your other post (viewtopic.php?p=2210267#p2210267), it looks like this is related to using virtualenv.

Are you using a virtual env? It looks like you are.

You may need to tell thonny to use the venv's interpreter

https://nascentmaker.com/tutorials/2022 ... honny.html
Hi, no I'm not using virtual environment, this is a completely different project with different code. I was only following steps from the video.
The stack trace shows it's loading modules from a hidden folder in your home folder

File "/home/drahos/.local/lib/python3.9/site-packages/picamera/__init__.py",

Though that could be Thonny doing it's weird things. Or you installed packages in your user's profile env.

How exactly did you create this project and installed the packages/modules?

Statistics: Posted by memjr — Tue Apr 09, 2024 10:24 pm



Viewing all articles
Browse latest Browse all 4859

Trending Articles