酷代码 AI
菜单
全部AI  /  热门  /  AI写代码神器
服务商

scrapy-redis-sentinel 0.7.1 requires redis==3.5.3, but you have redis 4.3.6 which is incompatible. scrapy-redis-sentinel 0.7.1 requires redis-py-cluster==2.1.3, but you have redis-py-cluster 1.3.6 which is incompatible.

It seems like there's a version conflict with the dependencies required by scrapy-redis-sentinel version 0.7.1 and the versions of redis and redis-py-cluster that you currently have installed. scrapy-redis-sentinel 0.7.1 specifically requires: 1. redis version 3.5.3 2. redis-py-cluster version 2.1.3 However, your environment has: 1. redis version 4.3.6 2. redis-py-cluster version 1.3.6 To resolve this issue, you need to downgrade the redis package to version 3.5.3 and upgrade the redis-py-cluster package to version 2.1.3. You can do this using pip: ```bash pip install redis==3.5.3 pip install redis-py-cluster==2.1.3 ``` Please note that downgrading packages may introduce compatibility issues with other parts of your project if they depend on a newer version of Redis or redis-py-cluster. If possible, consider checking for an updated version of scrapy-redis-sentinel that supports the newer Redis and redis-py-cluster releases. [2024-03-01 14:08:38 | AI写代码神器 | 245点数解答]

相关提问