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.

`az keyvault show` doesn't work on Ubuntu: ModuleNotFoundError: No module named 'azure.keyvault.v7_0'

See original GitHub issue

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az keyvault secret show

Errors:

No module named 'azure.keyvault.v7_0'
Traceback (most recent call last):
python3/dist-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 528, in execute
    self.commands_loader.load_arguments(command)
azure/cli/core/__init__.py, ln 299, in load_arguments
    self.command_table[command].load_arguments()  # this loads the arguments via reflection
...
<frozen importlib._bootstrap>, ln 1014, in _gcd_import
<frozen importlib._bootstrap>, ln 991, in _find_and_load
<frozen importlib._bootstrap>, ln 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'azure.keyvault.v7_0'

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here…
  • az keyvault secret show --name {} --vault-name {} --output {} --query {}

Expected Behavior

getting the requested secret instead of an error

Environment Summary

Linux-5.4.0-25-generic-x86_64-with-glibc2.29
Python 3.8.2
Shell: bash

azure-cli 2.0.81 *

Extensions:
azure-devops 0.17.0

Additional Context

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bim-msftcommented, Jun 10, 2020

Waiting for apt repositories to be updated. Move this issue into the backlog.

1reaction
bim-msftcommented, May 15, 2020

@fengzhou-msft Hi, seems apt-get will install an old version (2.0.81) of CLI, and this version maybe contains some bugs. Do you know how to push them to upload our latest package? Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting 'No module named 'azure.keyvault.v7_0' error - Reddit
I logged in using azure service principal using the following command: RUN az login --service-principal -u <user> -p <password> --tenant ...
Read more >
ModuleNotFoundError: No module named 'azure-keyvault'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'azure-keyvault' How to remove the Mod.
Read more >
986657 - azure-cli: az keyvault throws ModuleNotFound error
Debian Bug report logs - #986657. azure-cli: az keyvault throws ModuleNotFound error. Bug is archived. No further changes may be made.
Read more >
azure-keyvault - PyPI
This is the Microsoft Azure Key Vault libraries bundle. This package does not contain any code in itself. It installs a set of...
Read more >
New-AzKeyVault (Az.KeyVault) | Microsoft Learn
KeyVault ' when you try to create your new key vault, run ... Module: Az.KeyVault ... This command creates a key vault named...
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