Right, so I kept trying things and thought that maybe I should try to run: python3 gen_sa_accounts.py --quick-setup 1 and have Python create a new project with accounts. There were no errors during this step.    Then I went ahead to step 3 and tried the steps again to enable the API: https://developers.google.com/admin-sdk/directory/v1/quickstart/python   I can do all the steps on that page, except the last one where I have to run: python quickstart.py