How to Create and Activate a Virtual Environment in Python using venv module & PyCharm (Windows)

Опубликовано: 23 Октябрь 2024
на канале: Rahul Mula
4,227
27

In this video, you'll learn how to create a virtual environment for python using the built-in venv module from the terminal of visual studio code (vs code) and activate it. But you can follow along and execute the same commands in a normal terminal as well.

We will also learn about how to automate the process using PyCharm i.e. virtual environment creation and activation for a python project.

🕗 Time Stamps

00:00 Setup
00:44 Creation
02:08 Activation
02:52 Using PyCharm

✅ Commands

~ python -m venv .\env-name [ Create ]
~ .\env-name\Scripts\activate [ Activate ]

🎵 Music
Music from Uppbeat (free for Creators!):
https://uppbeat.io/t/all-good-folks/w...
License code: 7QUEOWCWQ3YNOLTI