python: boto3 _send_request() error

Question:

I want to user boto3 within docker but this error: TypeError: _send_request() takes 5 positional arguments but 6 were given always responds to me. For example:

Out the docker:

And everything works, but within docker python interpreter, it gives me the error.

Any idea? Thanks!

Answer:

you can upgrade your boto3 and will fix it:
pip install –upgrade boto3

Leave a Reply