[Answered ]-Django installation error

2👍

What the traceback tells you is that the maximum time allocated to one read operation was spent and, thus, the operation was aborted. This may be due to a low connection speed, in which case a quick fix may be to increase the timeout time for installing a package. Try this:

pip --default-timeout=500 install django

where 500 is the amount of time in seconds. Feel free to increase / decrease it as you wish. Hope it helps.

👤Chris

0👍

You should use a virtualenv

to create a virtual environment. Then installing django: pip install django, not Django

!SOF: How to leave/exit/deactivate a python virtualenv? Link

👤mrK

Leave a comment