How to Create a Python Virtual Environment on Windows 11 | Complete Guide | 2024

EBISYS Tech
0

 

Introduction

Why Use a Virtual Environment?

Prerequisites

Step 1: Create a Project Folder

Step 2: Open Command Line Prompt

Step 3: Install Virtualenv

pip install virtualenv

Step 4: Create a Virtual Environment

virtualenv venv

Step 5: Verify the Creation of the Virtual Environment

Step 6: Test the Virtual Environment

venv\Scripts\activate
deactivate

Conclusion

Post a Comment

0Comments
Post a Comment (0)