如果我尝试安装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.
似乎没有适用于它们的所有版本的软件包。有人可以告诉我哪些版本都兼容吗?点子有什么办法可以自动确定呢?
答案 0 :(得分:0)
尝试用aioboto3
代替boto3
吗?
添加到requirements.in
aioboto3
aiobotocore
快跑
python3.8 -m pip install pip --upgrade
python3.8 -m pip install pip-tools
python3.8 -m piptools compile requirements.in
您会得到类似的东西
#
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile requirements.in
#
aioboto3==8.0.5 # via -r requirements.in
aiobotocore==1.0.4 # via -r requirements.in, aioboto3
aiohttp==3.6.2 # via aiobotocore
aioitertools==0.7.0 # via aiobotocore
async-timeout==3.0.1 # via aiohttp
attrs==19.3.0 # via aiohttp
boto3==1.12.32 # via aiobotocore
botocore==1.15.32 # via aiobotocore, boto3, s3transfer
chardet==3.0.4 # via aiohttp
docutils==0.15.2 # via botocore
idna==2.10 # via yarl
jmespath==0.10.0 # via boto3, botocore
multidict==4.7.6 # via aiohttp, yarl
python-dateutil==2.8.1 # via botocore
s3transfer==0.3.3 # via boto3
six==1.15.0 # via python-dateutil
typing-extensions==3.7.4.2 # via aioitertools
urllib3==1.25.10 # via botocore
wrapt==1.12.1 # via aiobotocore
yarl==1.5.1 # via aiohttp