Reputation: 7246
I'm using Python 3.8.1:
$ python -V
Python 3.8.1
I've installed pipenv:
$ pip list | grep pipenv
pipenv 2018.11.26
If I try to install Django I get the following error:
$ pipenv install django
pyenv: pipenv: command not found
The `pipenv' command exists in these Python versions:
3.7.2
Have I done something wrong that causes pipenv to not work with 3.8.1 and how do I resolve this?
Upvotes: 3
Views: 625
Reputation: 104
I'm not a pipenv user, but it seems that your pipenv have been installed with python 3.7.2 on your system, rather than the default python 3.8.1.
This may due to your pip in env is actually for python 3.7.2 on your system.
One possible Solution:
pip uninstall pipenv
python -m pip install pipenv
python -m pipenv install django
Upvotes: 2