#python-3.x
#python-3.x
Вопрос:
Я использую scrapy и selenium-провод в Python 3 requirements-pip.txt вот так:
selenium-wire==4.5.6 scrapy==2.5.1
но решение пакета не удалось и показывает ошибку, подобную этой:
ERROR: Cannot install -r /***/pydolphin/requirements-pip.txt (line 17) and -r /***/pydolphin/requirements-pip.txt (line 27) because these package versions have conflicting dependencies. The conflict is caused by: scrapy 2.5.1 depends on h2lt;4.0 and gt;=3.0 selenium-wire 4.5.6 depends on h2gt;=4.0; python_version gt;= "3.6.0" 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/user_guide/#fixing-conflicting-dependencies exit status 1 The command '/bin/sh -c pip3 install -r /***/pydolphin/requirements-pip.txt' returned a non-zero code: 1 Error: exit status 1
что я должен сделать, чтобы устранить эти конфликты?