Skip to content

Wrangling python virtual environments for Windows 10/11 workflows

License

Notifications You must be signed in to change notification settings

cooperjaXC/windows-python-venv

Repository files navigation

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. See this StackOverflow resource and this repository's corresponding GitHub Issue for more help.

About

Wrangling python virtual environments for Windows 10/11 workflows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published