- Install pip
sudo apt-get install python3-pip
- Install pipenv
pip3 install pipenv
- If you see this message, this shows pipenv is saved in another folder which is not in the PATH
- To see your current path
echo $PATH
- Add the folder to PATH by running this command
export PATH="/home/kasm-user/.local/bin:$PATH"
- To make this persistent after reboot, add the above command into the EOL of the ~/.bashrc
sudo nano ~/.bashrc
- To run pipenv, cd to your project folder and type this command
pipenv shell
- You have created a virtual environment