Why I cannot create pipenv shell in ubuntu 20.04 LTS with python3.8?
Solution 1:
I was facing the same problem on Ubuntu 20.04, but since you are on heroku I am not sure if you can execute these but, in your terminal:
sudo apt-get remove python3-pipenv
sudo pip3 install pipenv (or sudo pip install pipenv)
After that I had another problem with the version of virtualenv. For that I removed python3-virtualenv and the version of virtualenv installed by pip
sudo apt-get remove python3-virtualenv
sudo pip3 install virtualenv
You can check, if pipenv works: /home/[your_username]/.local/bin/pipenv
If you still face a problem with virtualenv, look here: https://github.com/pypa/pipenv/issues
After it works, add /home/[your_user]/.local/bin/ to your PATH:
export PATH=$PATH:/home/[your_user]/.local/bin/