Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

How to create a Python virtual environment using pipenv

Create a directory

$ mkdir Dev

Move in the directory

$ cd Dev

You can also create a sub directory

$ mkdir penv

Create the virtual environment

$ pip3 install pipenv

To activate the Virtual environment

$ pipenv shell

To exit the virtual environment

$ exit
 
PREVIOUS NEXT
Tagged: #How #create #Python #virtual #environment #pipenv
ADD COMMENT
Topic
Name
2+6 =