ImportError: cannot import name 'b'
ImportError: cannot import name 'b'
错误来源
使用pip3安装rediscluster模块时产生
解决方案
需要注意如果需要通过第三方模块操作rediscluster,你需要下载的东西是redis-py-cluster,而不是直接根据rediscluster这个命名下载
可以前往清华的镜像源查看版本,然后下载自己想要https://pypi.tuna.tsinghua.edu.cn/simple/redis-py-cluster/
pip install redis-py-cluster==any version you want

浙公网安备 33010602011771号