Skip to content

Latest commit

 

History

History

py_venv

Setup python virtual environments for Windows

Code style: black

To run the script test.py with a virtual python environment, double click/execute the test.bat file. That's it.

  • Here, test.py and .bat are stand-ins for a real python file with installation requirements you are trying to run. Edit the 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.

Requirements

Ensure the base python interpreter path designated in set_python_path.bat is set to your desired python.exe.

  • Package dependencies may require a minimum python version. Tip: use the latest version of python you have available.

Notes

  • Conda environments may experience issues installing with ssl DLL issues.