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.
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
- [Answered ]-Django Pillow install on Amazon EC2
- [Answered ]-How to use Q objects in Django
- [Answered ]-Is it possible to pause and resume an http file upload?
Source:stackexchange.com