Python and PipEnv

Installation

Note that whatever the OS, you might sometimes need to disconnect and reconnect (reload your environment) before seeing python or pipenv in your PATH.

python3.9

Python 3.9:

sudo apt-get install python3 \
    python3-distutils \
    python3-pip \
    python3-setuptools

PipEnv

First install and upgrade pip:

sudo apt-get install python3-pip -y
python3.9 -m pip install --upgrade pip

Then install PipEnv through pip:

python3 -m pip install -U pipenv