ОШИБКА: Невозможно установить pytest-cov==2.12.1 и pytest<4.6, поскольку эти версии пакетов имеют конфликтующие зависимости

Я хочу установить проект, перед этим я должен установить файл requirement.txt, но здесь возникает проблема

ERROR: Cannot install -r requirements.txt (line 15) and idna==3.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested idna==3.1
    requests 2.25.1 depends on idna<3 and >=2.5

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

requirement.txt:

certifi==2020.12.5
chardet==4.0.0
defusedxml==0.7.1
Django==3.2
django-mathfilters==1.0.0
idna==3.1
oauthlib==3.1.0
Pillow==8.2.0
psycopg2==2.8.6
psycopg2-binary==2.8.6
PyJWT==2.0.1
python3-openid==3.2.0
pytz==2021.1
reportlab==3.5.67
requests==2.25.1
requests-oauthlib==1.3.0
six==1.15.0
social-auth-app-django==4.0.0
social-auth-core==4.1.0
urllib3==1.26.4

я не знаю, как решить эту проблему :/

Вернуться на верх