0

Because calls to AWS REST API can be long-running (especially when dealing with CloudFormation calls) I have used asyncio to parallelize calls, with an executor (see here for more info).

However, when some of the calls failed (or even without failures) I get this error:

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

without any further indication (e.g., a stacktrace) to figure out what the root cause is.

Marco Massenzio
  • 2,822
  • 1
  • 25
  • 37

1 Answers1

0

Looking at this issue, the issue appears to be with the version of six that botocore embeds in an earlier version.

I added the following to my requirements.txt:

botocore==1.7.22

and then run:

pip install -r requirements.txt

and the error went away.

Marco Massenzio
  • 2,822
  • 1
  • 25
  • 37