Yes, you have missed something. You have to activate it everytime you want to use it.
Or, run python by giving the full path of the binary in the venv and it will know you started it from the venv.
Or, run python by giving the full path of the binary in the venv and it will know you started it from the venv.
Code:
/home/pi/.venv/bin/python /home/pi/my script.py
Statistics: Posted by memjr — Tue Mar 19, 2024 11:44 pm