Bookworm has changed a bit so we now need to create a virtual environment (venv) to install python packages with pip.
See https://www.raspberrypi.com/documentat ... spberry-pi
Like this (with sysytem packages)
See https://www.raspberrypi.com/documentat ... spberry-pi
Like this (with sysytem packages)
Code:
mkdir my_projectcd my_projectpython -m venv --system-site-packages envsource env/bin/activate
Statistics: Posted by neilgl — Tue Feb 20, 2024 8:12 pm