question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error loading command modules

See original GitHub issue

I have installed azure-cli (v 2.13.0) manually on Ubuntu (I followed these instructions https://docs.microsoft.com/en-gb/cli/azure/install-azure-cli-linux). I have Python 3.8.5 installed.

However, everytime I use az I get the following errors:

Error loading command module 'acr'
Error loading command module 'ams'
Error loading command module 'apim'
Error loading command module 'appconfig'
Error loading command module 'appservice'
Error loading command module 'backup'
Error loading command module 'botservice'
Error loading command module 'cdn'
Error loading command module 'configure'
Error loading command module 'consumption'
Error loading command module 'cosmosdb'
Error loading command module 'deploymentmanager'
Error loading command module 'dla'
Error loading command module 'dls'
Error loading command module 'iot'
Error loading command module 'lab'
Error loading command module 'monitor'
Error loading command module 'netappfiles'
Error loading command module 'network'
Error loading command module 'reservations'
Error loading command module 'search'
Error loading command module 'security'
Error loading command module 'servicefabric'
Error loading command module 'sqlvm'
Error loading command module 'storage'
Error loading command module 'vm'

Running with --debug I see

TypeError: __init__() missing 1 required positional argument: 'cli_ctx'

Any ideas on what is going wrong and what I can do to fix it?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jiaslicommented, Aug 31, 2021

@211217613, this issue has been fixed by https://github.com/Azure/azure-cli-extensions/pull/3636. Please update interactive extension to the latest:

az extension update --name interactive
0reactions
211217613commented, Aug 30, 2021

I’m getting the same or similar issue on mac. When invoking az interactive I immediately get

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I correct the error "Command 'module load ...
Command 'module load codec_g729a.so' failed. You may need to change the ownership of the codec_g729a.so file located in /usr/lib/asterisk/modules or for 64 bit ......
Read more >
Azure CLI ML Error - Error loading command module 'ml'
Hi,. I get the following error when trying to run an az command, since the latest update (Version 0.1.1801.24233 ):.
Read more >
Error loading command module azure ml when setup azure ml
The only way to run this command it seems is from the: File > Open Command Prompt. menu item within the desktop software...
Read more >
Troubleshooting at Module Command Error Failed to load ...
When provisioning WordPress® hosting with the cPanel server module, you may encounter the following error message: Failed to load module ...
Read more >
Re: [Modules] Shouldn't module load return error code exits ...
I am not too crazy about an error causing a side command to run (false is not a built-in in all shells). I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found