2

Today I wanted to install Django with steps of Django site, but when I installing that I get this error and searched but I couldn't find good answer:

Hash of the package https://pypi.python.org/packages/py2.py3/D/Django/Django-1.8.5-py2.py3-none-any.whl#md5=3c182cf9de00382ecf27fdc65fcfbe70 (from https://pypi.python.org/simple/django/) (37e1d67ae64ad916aeb1e0b1f58a3b5e) doesn't match the expected hash 3c182cf9de00382ecf27fdc65fcfbe70!
Bad md5 hash for package https://pypi.python.org/packages/py2.py3/D/Django/Django-1.8.5-py2.py3-none-any.whl#md5=3c182cf9de00382ecf27fdc65fcfbe70 (from https://pypi.python.org/simple/django/)

I use windows 10.

Farshid Shekari
  • 2,391
  • 4
  • 27
  • 47

3 Answers3

3

There are couple of things you can do. First, you can tell pip to ignore looking at the cache:

~$ pip install --ignore-installed Django

or you can try downloading the tarball instead:

~$ pip install https://www.djangoproject.com/download/1.8.5/tarball/
Ozgur Vatansever
  • 49,246
  • 17
  • 84
  • 119
0

This problem is because terminal is using cache version of Django for install. use below code

pip install django --no-cache-dir
Vivek
  • 341
  • 1
  • 5
  • 15
0

The same error,I too got...This is due to the presence of a cache of Djanco.

pip install django --no-cache-dir

RECOMMENDED TO WINDOWS 10 USERS

Joel K Thomas
  • 225
  • 2
  • 2