Skip to content

Instantly share code, notes, and snippets.

@number5
Last active June 7, 2019 21:12
Show Gist options
  • Save number5/015eef7783e7ddf7d5a4176d4e6bc975 to your computer and use it in GitHub Desktop.
Save number5/015eef7783e7ddf7d5a4176d4e6bc975 to your computer and use it in GitHub Desktop.
Temporary workaround to install awscli/boto3 with Homebrew Python 3.7 (before PyYAML fix their python3.7 releases)
  1. pip3 install awscli boto3 (this step will fail but will install all deps exclude pyyaml for us)
  2. pip3 install pyyaml==4.2b4
  3. pip3 install --no-deps awscli boto3

See yaml/pyyaml#193 for what's happening with pyyaml

@bribroder
Copy link

I also needed to pip3 install rsa

@fagiani
Copy link

fagiani commented Jul 26, 2018

the step #1 was enough for me to get awscli back working. tks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment