See the official documentation re python venv https://www.raspberrypi.com/documentat ... spberry-pi
I usually create a venv with system packages:To find a file:
I usually create a venv with system packages:
Code:
mkdir my_projectcd my_projectpython -m venv --system-site-packages envsource env/bin/activate
Code:
sudo find / -name myfile.py
Statistics: Posted by neilgl — Sun Jan 21, 2024 10:58 am