Django cannot be installed in the development environment of pipenv + pyenv

 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

Django cannot be installed in the development environment of pipenv + pyenv
Django + MongoDB development environment maintenance (in the middle of writing)
Jupyter Notebook 6.0.2 cannot be installed in the Python 2.7 environment created in Anaconda
[Django] css in the project cannot be read
I want to use Python in the environment of pyenv + pipenv on Windows 10
I installed Pygame with Python 3.5.1 in the environment of pyenv on OS X
Video cannot be loaded with Spyder in Python development environment
The meaning of ".object" in Django
[Understanding in the figure] Management of Python virtual environment by Pipenv
Using TensorFlow in the cloud integrated development environment Cloud9 ~ Basics of usage ~
pyenv + pyenv-Automatically load the virtualenv environment in the virtualenv environment
Install Django in a pipenv virtual environment
The story of using mysqlclient because PyMySQL cannot be used with Django 2.2
Build the fastest Django development environment with docker-compose
Start Django in a virtual environment with Pipenv
Instantiation of the BOX development environment created earlier
python development environment -use of pyenv and virtualenv-
The story of viewing media files in Django
Matplotlib etc. cannot be imported in VirtualEnv environment
PIL cannot be installed by virtualenv with pyenv
De-VBA Excel tool! Eliminate VBA tool with Python in environment where Python cannot be installed
The background color of the QWidget subclass cannot be set
The story of building the fastest Linux environment in the world
The story of sharing the pyenv environment with multiple users
In the middle of development, we will introduce Alembic
When import matplotlib.pyplot cannot be done in pyenv-virtualenv environment
Development environment in Python
[Memo] Django development environment
Excel sheet cannot be specified in sheet_name of pd.read_excel
The image is displayed in the local development environment, but the image is not displayed on the remote server of VPS
Switch the setting value of setting.py according to the development environment
Try running python in a Django environment created with pipenv
Unify the environment of the Python development team starting with Poetry
Commands often used in the development environment during Python implementation
Summary of stumbling blocks in Django for the first time
[Tips] Problems and solutions in the development of python + kivy
Use Anaconda in pyenv environment
Django development environment construction memo
Django environment development on Windows 10
Byobu crashes in pyenv environment
(Note) Django in Vagrant environment
django project development environment construction
When pydub cannot be installed
Solve the problem of missing libcudart in Ubuntu 16.04 + CUDA 8.0 + Tensorflow environment
How to handle multiple versions of CUDA in the same environment
Example of building python development environment on windows (wsl2, vscode, pipenv)
Construction of Python local development environment Part 1 (pyenv, pyenv-virtualenv, pip installation)
Switch the package to be installed for each environment with poetry
LINEbot development, I want to check the operation in the local environment
How to set up the development environment of ev3dev [Windows version]
Solution to the problem that Ctrl + z cannot be used in Powershell in Docker for windows environment (provisional)
The story of participating in AtCoder
[Django] Memorandum of environment construction procedure
Implementation of login function in Django
[For beginners] Django -Development environment construction-
Environment construction memo of pyenv + conda
Switch the language displayed in Django 1.9
The story of the "hole" in the file
Checking the NAOqi Python development environment
Prepare the development environment with anyenv
Get the query string (query string) in Django