Python3 error

January 28, 2024, 11:41

tsifios

When i run python programms i get the following error on pi4

k9t33n

text as text from now on please

k9t33n

but anyway, this is happening because the python community have opted to use venv for python by default

tsifios

ok

k9t33n

so you need to do some reasearch on how to set up a venv (no you do not pip install it) or if the modules your using dont do much system wise then you can jst add --break-system-packages to the commands that dont work

k9t33n

but that is a bit dangerous because as the name suggests it has a chance of breaking system packages

k9t33n

so you decide

tsifios

the first propable

k9t33n

yes thats the better option