Search
 
SCRIPT & CODE EXAMPLE
 

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
Comment

activate pipenv

source $(pipenv --venv)/bin/activate
Comment

How To activate a pipenv virtual environment

$ pipenv shell
Comment

pipenv new environment

pipenv install
# this will create an environment
# and will not have any dev or production dependencies preinstalled
Comment

PREVIOUS NEXT
Code Example
Shell :: delete all stopped docker containers 
Shell :: linux login to github via git 
Shell :: delete pid port 
Shell :: install discord fedora 
Shell :: how to add numbers in linux command line shell 
Shell :: pip install google trans 
Shell :: link folder to github repo 
Shell :: run redis in background ubuntu 
Shell :: Replace git master with another branch 
Shell :: install office 365 in ubuntu 
Shell :: git last commit change author 
Shell :: sudo: lsof: command not found 
Shell :: linux size of folder and subfolders 
Shell :: when was kali linux released 
Shell :: Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:783 (propagating) 
Shell :: docker manjaro 
Shell :: Test connection to Redis with netcat 
Shell :: yarn start error error listen EADDRINUSE: address already in use :::8081. 
Shell :: change password arch linux 
Shell :: use to remove snap packages 
Shell :: git remanme folder 
Shell :: Cannot make for rpm, the following external binaries need to be installed: rpmbuild 
Shell :: how to install wsl 2 in windows 10 
Shell :: changing master to main 
Shell :: signaling init process caused permission denied 
Shell :: linux umount command 
Shell :: download google chrome linux command line rpm 
Shell :: navigate to folder macq 
Shell :: firebase deploy with token 
Shell :: ubuntu packages 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =