CINF / PyExpLabSys

Python for Experimental Lab Systems: Serial drivers, file parsers, data and live sockets
GNU General Public License v3.0
74 stars 33 forks source link

New pip policy in Bookworm #72

Open robertjensen opened 7 months ago

robertjensen commented 7 months ago

Raspbian Bookworm has a new policy for handling pip that makes the current bootstrap script fail.

I believe we should adapt to the policy described here: https://www.raspberrypi.com/documentation/computers/os.html#using-pip-with-virtual-environments

As far as I can tell, this means that bootstrap should be changed to run python -m venv --system-site-packages ~/.env

And the update of .bashrc should have this line added: source ~/.env/bin/activate