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

Python • Re: GPIO .venv problems

$
0
0
Which operating system are we running on the Pi Zero 2W? Bookworm 64-bit with desktop or something else?
Was the new venv created with system packages like this

Code:

python -m venv --system-site-packages env
or not - like this:

Code:

python -m venv env
And to test an LED from the command line e.g. GPIO 21 use

Code:

pinctrl set 21 op dh
Check pins here https://pinout.xyz/#

Statistics: Posted by neilgl — Mon Mar 24, 2025 7:44 pm



Viewing all articles
Browse latest Browse all 1279

Trending Articles