July 2018
Intermediate to advanced
324 pages
8h 14m
English
You can initialize the virtual environment from anywhere and it will keep track of every package installation.
Firstly, we need to install pipenv at the system level. So, if you are using macOS then you can simply install the pipenv using Homebrew as shown here:
$ brew install pipenv
If you are using Ubuntu 17.10, then you can simply add a PPA repository and install using the apt command, such as the following:
$ sudo apt install software-properties-common python-software-properties$ sudo add-apt-repository ppa:pypa/ppa$ sudo apt update$ sudo apt install pipenv
You can simply install it via pip at the system level, instead of using pip from an active virtual environment. Take a look at this code line:
pip install pipenv ...
Read now
Unlock full access