Invalid IPv6 URL

When I try to use
bash setup_p2.sh I get invalid IPv6 URL. I understand this is a Python 2.7 error. Anyway to circumvent this?

Try copying and pasting each line from the script into your terminal. I haven’t seen this error before.

Hi,

I found this on stackexchange. Apparently the error occurs when the bash script calls any aws-cli commands.

In my case, just adding the “AWS_DEFAULT_REGION” environment variable set to “us-west-2” did it for me.

By the way, I only had to do this when using aws-cli from inside Cygwin. I don’t need to do it when using regular Linux

Ran into the same error. Running this command fixed the error for me:
export AWS_DEFAULT_REGION=us-east-1
You might also try specifying the region when running any command:
aws s3 ls --region us-east-1
https://stackoverflow.com/questions/45999285/invalid-ipv6-url-while-running-commands-using-aws-cli

Hope this helps,

MR