在多线程代码中运行boto3时botocore.Vendor.six公司.moves没有引发属性错误

2024-09-30 01:23:41 发布

您现在位置:Python中文网/ 问答频道 /正文

因为对awsrestapi的调用可能是长时间运行的(特别是在处理CloudFormation调用时),所以我使用了asyncio来并行化调用,并使用了executor(有关更多信息,请参见here)。你知道吗

但是,当某些调用失败(甚至没有失败)时,我会得到以下错误:

[ERROR] module 'botocore.vendored.six.moves' has no attribute 'configparser'

没有任何进一步的指示(例如,stacktrace)来找出根本原因。你知道吗


Tags: asyncio信息here错误errorhasmodule我会

热门问题