- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
如果我尝试安装最新版本的 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.
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.
最佳答案
试试 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
关于python - boto3、aiobotocore、awscli 和 botocore 的版本不兼容;无法解决,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57830582/
我有一个项目使用 aiohttp 和 aiobotocore 来处理 AWS 中的资源。我正在尝试测试适用于 AWS S3 的类,并且我正在使用 moto 来模拟 AWS。模拟适用于使用同步代码的示例
我想使用 botocore 和 aiohttp 服务获取 S3 上上传文件的内容。由于文件可能很大: 我不想将整个文件内容存储在内存中, 我希望能够在从 S3(aiobotocore、aiohttp)
如果我尝试安装最新版本的 aiobotocore pip3 install aiobotocore==0.10.3它说我的 botocore 版本不兼容,我需要它的旧版本。 ERROR: aiobot
下面的代码引发导入异常 import s3fs fs = s3fs.S3FileSystem(anon=False) 异常(exception) Traceback (most recent call
关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。 想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。 上个月关闭。 Improve thi
我是一名优秀的程序员,十分优秀!