Skip to main content

When I use the python script to attempt to generate a .json file to upload i get an error saying No module named 'azure' what can I do to get around this error?

Hi Richard!

Thanks for posting in the Lucidscale community. If you haven't already please check out our Import and Manage Azure Infrastructure Data article from the Lucidscale Help Center.

In the Import Subscriptions and Create Models via Azure CLI section of this article the following command is listed:

python3 (python) azurecliscript.py --subscriptions “subscription id 1” “subscription id 2”

Were you able to run this command after downloading azurecliscript.py?

Additionally if you are receiving an error indicating the command above is unable to locate the downloaded .py file you should verify the directory you're in. If the directory your command line is using is not the same as the location of the downloaded file the command will be unable to locate it.

If you are still experiencing issues please submit a support ticket so we can take a closer look at your issue. Thank you!


Reply