Steps to create a Python virtual environment in a Project Folder 00:00 Introduction 00:35 What is a Virtual Environment 04:26 Benefits of a virtual environment 04:52 Step 1 - Python must be installed on the system python —version pip —version 06:09 Step 2 - Create a new folder, Open cmd prompt or terminal and goto the location of folder 08:03 Step 3 - Create a virtual environment by running the command python -m venv myenv This will create a new directory “myenv“ in project folder, which will contain the virtual environment 09:58 Step 4 - Activate the virtual environment by running the command myenv/bin/activate (Linux/Mac) myenv\Scripts\activate (Windows) deactivate (disconnect virtual env) 12:27 Step 5 - Once the virtual environment is activated, it’s name will b ... #RaghavPal #how_to_create_python_virtual_environment #what_is_a_virtual_environment_in_python #what_are_the_advantages_for_virtual_environment #how_to_connect_a_folder_to_a_virtual_environment 20230209 oN0cISyzWe8
Hide player controls
Hide resume playing