【发布时间】:2021-08-06 17:36:37
【问题描述】:
如果我尝试安装最新版本的 aiobotocore pip3 install aiobotocore==0.10.3,它说我的 botocore 版本不兼容,我需要它的旧版本。
ERROR: aiobotocore 0.10.3 has requirement botocore<1.12.190,>=1.12.189, but you'll have botocore 1.12.224 which is incompatible.
因此,如果我将我的 botocore 版本更改为 1.12.189,它会破坏 awscli 和 boto3
ERROR: boto3 1.9.224 has requirement botocore<1.13.0,>=1.12.224, but you'll have botocore 1.12.189 which is incompatible.
ERROR: awscli 1.16.234 has requirement botocore==1.12.224, but you'll have botocore 1.12.189 which is incompatible.
似乎没有适用于所有软件包的版本。谁能告诉我哪些版本都兼容?有没有办法让 pip 自动确定这一点?
【问题讨论】:
-
有一个hack方法,你可以从github下载
aiobotocore然后修改setup.py,把'botocore>=1.12.189,<1.12.190'改成botocore==1.12.224。然后运行pip3 install .。也许它是兼容的。
标签: python amazon-web-services boto3 aws-cli botocore