When i run following command in my Django project:
pip install -r requirements.txt --upgrade
I get following error:
This sounds very much like you are hitting https://github.com/pypa/pip/issues/3384 - the temporary solution is to pin pip<8