No this way Nothing is activated : you should type (or put into a bash script)I initially created the venv by this command from the home/pi/Documents/HVAC directory.
And it could be activated from the command line by:Code:
python3 -m venv env
Code:
env/bin/activate
or this:Code:
./env/bin/activate
either
Code:
. env/bin/activate
Code:
source env/bin/activate
Code:
pi@raspberrypi:~ $ cat selenium/bin/activate# This file must be used with "source bin/activate" *from bash*# you cannot run it directly
If you want to keep variables -such as pythons version, the libraries places : seems it is what you need- , the only way is to use SOURCE -or ., but one cannot read it-
Statistics: Posted by dbrion1 — Mon Aug 05, 2024 4:21 pm