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:Now we can pip install things.
Create the venv with system packages like this:
Code:
mkdir my_projectcd my_projectpython -m venv --system-site-packages envsource env/bin/activate
Statistics: Posted by neilgl — Sat Dec 07, 2024 6:14 pm