How To Set Up A Python Virtual Environment On Windows 10

September 18, 2020 Liquid Web

A Virtual Environment or a “venv” is a Python module that creates a unique environment for each task or project. It installs the packages we need that are unique to that setting while keeping your projects neatly organized. Additionally, venv never actually modifies the system’s default Python versions or modules that are installed on the system. Using venv essentially allows for a unique working environment while avoiding any disruptions to other variants of Python that are used, but not related to our project.

In this video, we demonstrate how to set up a python virtual environment on Windows 10.

Commands used:
python
https://www.python.org/downloads/release/python-380/
pip install virtualenv
mkdir my_project
cd my_project
virtualenv env
env\Scripts\activate.bat
deactivate
pip install virtualenvwrapper-win

Video by: Justin Palmer

About the Author

Liquid Web

Liquid Web powers online content, commerce, and potential for SMB entrepreneurs and the designers, developers and digital agencies who create for them. Sign up for our <a href="https://www.liquidweb.com/blog">newsletter</a> to stay up to date with our latest content.

More Content by Liquid Web
Previous Video
How to Create and Clone a Repo in GitHub on Ubuntu 18.04
How to Create and Clone a Repo in GitHub on Ubuntu 18.04

In this video, we demonstrate how to do create and clone a repository in GitHub on Ubuntu 18.04.

Next Video
How to Configure Windows Remote Desktop Users Group
How to Configure Windows Remote Desktop Users Group

In this video, we demonstrate how to configure the windows remote desktop users group.

Learn What Qualities to Look for in Your Next Host in Our New Guide!

Download Now