因为对awsrestapi的调用可能是长时间运行的(特别是在处理CloudFormation调用时),所以我使用了asyncio
来并行化调用,并使用了executor
(有关更多信息,请参见here)。你知道吗
但是,当某些调用失败(甚至没有失败)时,我会得到以下错误:
[ERROR] module 'botocore.vendored.six.moves' has no attribute 'configparser'
没有任何进一步的指示(例如,stacktrace)来找出根本原因。你知道吗
Tags:
看看this issue,问题似乎出在
six
的版本上,该版本是botocore
嵌入到早期版本中的。你知道吗我在
requirements.txt
中添加了以下内容:然后运行:
错误消失了。你知道吗
相关问题 更多 >
编程相关推荐