Ok if using Bookworm you will need to create a python virtual environment (venv) to pip install the python library.
create the venv with system packages like this:Now we can pip install things e.g.
create the venv with system packages like this:
Code:
mkdir my_projectcd my_projectpython -m venv --system-site-packages envsource env/bin/activateCode:
pip install mpu6050-raspberrypiStatistics: Posted by neilgl — Sun Oct 13, 2024 8:28 am