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

Python • Re: Weather Station RPI BME 280

$
0
0
If we are using Bookworm we need to create a python virtual environment (venv) to pip install the python library.
Create the venv with system packages like this:

Code:

mkdir my_projectcd my_projectpython -m venv --system-site-packages envsource env/bin/activate
Now we can pip install things.

Statistics: Posted by neilgl — Sat Dec 07, 2024 6:14 pm



Viewing all articles
Browse latest Browse all 1234

Trending Articles