Answers for "example of how to create a virtual environment in python"

2

making a virtual environment python

# First install virtualenv
!pip3 install virtualenv

# Go to the desired directory which you wish you run your virtual environment.
cd project_directory

# create a virtual environment called my_virtualenv
virtualenv my_virtualenv

### to run the virtual environemt run "activate" as in the following command
.my_virtualenvScriptsactivate
Posted by: Guest on October-03-2020
1

Creating new virtual environment in python

py -m venv env
Posted by: Guest on July-12-2021

Code answers related to "example of how to create a virtual environment in python"

Browse Popular Code Answers by Language