Back to Browse

How to Create and Activate venv ( Python Virtual Environment ) in Windows 11

575 views
Jan 13, 2026
3:43

In this video, you’ll learn how to create and activate a Python virtual environment on a Windows 11 computer using Visual Studio Code. We’ll walk through creating a virtual environment using the venv module, activating it in Windows, and fixing the common PowerShell execution policy error that prevents activation. This step-by-step tutorial is perfect for beginners who want to manage Python project dependencies properly. Commands covered in this video: python -m venv venv venv\Scripts\activate Get-ExecutionPolicy Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted -Force If you found this tutorial helpful, like the video, leave a comment, and subscribe for more Python and programming tutorials. our Social Media Pages https://www.facebook.com/ExampleProgram https://www.twitter.com/ExampleProgram https://www.Instagram.com/example_program Our Website https://www.ExampleProgram.com #ExampleProgram

Download

0 formats

No download links available.

How to Create and Activate venv ( Python Virtual Environment ) in Windows 11 | NatokHD