pipenv --python 3.6
After
pipenv install django
Then
ModuleNotFoundError: No module named 'pip._internal.download'
Something comes out and I can't install it. By the way, the version of pipenv is
% pipenv --version
pipenv, version 2018.7.1
It was said that pyenv could not be used if the latest version of pipenv was used, so I intentionally included an older version.
■ Solution I solved it by updating pipenv to the latest version.
sudo pip3 install pipenv --force-reinstall
Just run.
I don't know the reason, but I solved it for some reason. I guess, but the order of installation may affect (?) pipenv (latest version) → pyenv → pipenv (old version) → pipenv (latest version) It was the turn of.
Recommended Posts