Python • Re: Problems with venv
Have you activated the venv before running the python script?Here, it fails if I do not activate the venvCode: python pub.pyTraceback (most recent call last): File "/home/pi/myenv/pub.py", line 1, in...
View ArticlePython • Re: "lgpio.error: 'GPIO busy'" when running flask server...
Where does the manager import come from?Code: from manager import *Statistics: Posted by neilgl — Sun Aug 31, 2025 9:33 am
View ArticlePython • Re: Error installing mariadb
Looks like pip install mariadb fails on Bookworm Lite (in a venv) as "Python.h" is missing. It is present on a desktop install.We can workaround that by Code: sudo apt install...
View ArticlePython • How to Update cpython
I'm trying to install Flask to RPi Bullseye OS on a Pi3 . A lot of packages I try and install or update come back with the same general error that "cpython" is invalid.Code: @raspberrypi:~ $ python -m...
View ArticlePython • Re: How to Update cpython
Personally, I'd start with this error 'Defaulting to user installation because normal site-packages is not writeableStatistics: Posted by DS256 — Mon Sep 01, 2025 3:57 pm
View Article