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

Python • Re: DS18B20 / w1thermsensor

$
0
0
site packages are apt installed ones from repositories (debian, RaspberryPi) or reinstalled with the OS.
We used to be able to install this module via apt (it was also pre installed in various versions of the OS) as it was needed for some Foundation projects.
Not anymore it seems (with Bookworm)


You don't actually need to recreate the venv, you can just add (or remove) the setting in the venv's config file and activate it.


Either way you should never need it enabled to install the python module. Something must be wrong with your venv to do that (i.e not actually activated properly).
Or maybe you are using the old habit of sudo pip, you shouldn't be using sudo.

Statistics: Posted by bensimmo — Thu Aug 01, 2024 5:38 pm



Viewing all articles
Browse latest Browse all 4845

Trending Articles