🆚 PYTHON VENV vs VIRTUALENV on WINDOWS (Beginner’s Guide)

Published: 12 April 2025
on channel: Ferds the NetDev
277
4

Python venv vs virtualenv on Windows | Python Tutorial for Beginners

In this video, we will learn what's the difference between Python venv and virtualenv and how to set up them on Windows.

venv (Built-in with Python 3)

Step 1: Create virtual environment using venv
python -m venv myenv

Step 2: Activate the virtual environment (Command Prompt)
myenv\Scripts\activate

Step 3: Deactivate the environment
deactivate


virtualenv (Third-party tool)

Step 1: Install virtualenv globally (only once)
pip install virtualenv

Step 2: Create virtual environment using virtualenv
virtualenv myenv

Step 3: Activate the virtual environment (Command Prompt)
myenv\Scripts\activate

Step 4: Deactivate the environment
deactivate




#python #pythonprogramming #pythontutorial


On this page of the site you can watch the video online 🆚 PYTHON VENV vs VIRTUALENV on WINDOWS (Beginner’s Guide) with a duration of hours minute second in good quality, which was uploaded by the user Ferds the NetDev 12 April 2025, share the link with friends and acquaintances, this video has already been watched 277 times on youtube and it was liked by 4 viewers. Enjoy your viewing!