To run the script test.py with a virtual python environment, double click/execute the test.bat file. That's it.
test.py
reference in test.bat
to point to the script you hope to run.To simply set up the venv itself, just execute the setup.bat
file.
Ensure the base python interpreter path designated in set_python_path.bat
is set to your desired python.exe.
ssl
DLL issues.
See this StackOverflow resource
and this repository's corresponding GitHub Issue
for more help.