Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Getting started script fails - reproducible #665

Closed
DavidBeavan opened this issue Oct 3, 2018 · 3 comments
Closed

Getting started script fails - reproducible #665

DavidBeavan opened this issue Oct 3, 2018 · 3 comments

Comments

@DavidBeavan
Copy link

Looking at stage 3 of the guide (cloud shell) this fails for me:

me@Azure:~$ wget -q https://raw.githubusercontent.com/Azure/aztk/v0.8.1/account_setup.sh -O account_setup.sh && chmod 755 account_setup.sh && /bin/bash account_setup.sh
Installing dependencies...
Finished installing dependencies.
Getting account setup script...
Finished getting account setup script.
Running account setup script...
Traceback (most recent call last):
  File "account_setup.py", line 10, in <module>
    from azure.graphrbac import GraphRbacManagementClient
ImportError: No module named 'azure.graphrbac'

Are there particular prerequisites needed prior for this step, perhaps?

Steps to reproduce (on Azure):

  1. exit cloud shell (if open)
  2. delete cloud shell storage
  3. restart cloud shell and let it make new (fresh) storage
  4. follow step 3 of the guide (above)
@DavidBeavan DavidBeavan changed the title Getting started script fails - reproducable Getting started script fails - reproducible Oct 3, 2018
@jafreck
Copy link
Member

jafreck commented Oct 3, 2018

Thanks for reporting this, I'll investigate and see if I can reproduce the issue. My guess is the package namespace has changed since that guide was updated.

@jafreck
Copy link
Member

jafreck commented Oct 24, 2018

I just tested and found that the error you shared did not occur on the latest version, 0.9.1.

Can you run the following command instead, and see if the problem persists:

wget -q https://raw.githubusercontent.com/Azure/aztk/v0.9.1/account_setup.sh &&
chmod 755 account_setup.sh &&
/bin/bash account_setup.sh

The fulll guide for account setup is here: https://aztk.readthedocs.io/en/v0.9.1/00-getting-started.html#usage

@DavidBeavan
Copy link
Author

All good, the script runs. Thx for the fix

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants