install pipenv code example

Example 1: install pipenv in ubuntu

#installing
pip install pipenv

Example 2: pipenv

pip install pipenv # install pipenv
pipenv install # create venv
pipenv shell # active shell (for running commands)
pipenv install --dev # install to dev
pipenv uninstall --all # uninstall all dependencies
pipenv --venv # the venv location

Example 3: pipenv

$ sudo apt install pipenv

Example 4: pipenv installs

pipenv install Django==3.1.2
pipenv install psycopg2-binary
pipenv install django-crispy-forms

Example 5: how to install pipenv

pipenv --python <version> install django==<version>
pipenv shell

django-admin startproject <name> .

Example 6: pipenv

$ cd ~/Desktop
$ mkdir folder && cd folder
$ pipenv install django~=3.1.0
$ pipenv shell
(folder) $ django-admin.py startproject my_project .
(folder) $ python manage.py migrate
(folder) $ python manage.py runserver