To solve pipenv requires python 3.7 but installed version is 3.8 and won’t install follow any of the below methods.
Warning: Python 3.7 was not found on your system… Neither 'pyenv' nor 'asdf' could be found to install Python.
How to solve pipenv requires python 3.7 but installed version is 3.8 and won’t install ?
Refer the solution below to solve this issue.
Under the pipfile modify the
requires as :
[requires] python_version = "3.7"
Pipenv is installed, but when it scans your configuration file, it detects that it should establish an environment with Python 3.7. As a result, you need install Python 3.7 or edit the pipfile to use the Python you have installed.