Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI extension installation failing with 2.42.0 #24781

Open
rotiwari opened this issue Dec 1, 2022 · 1 comment
Open

CLI extension installation failing with 2.42.0 #24781

rotiwari opened this issue Dec 1, 2022 · 1 comment
Assignees
Labels
Azure CLI Team The command of the issue is owned by Azure CLI team Extensions `az extension` commands or extension infrastructure feature-request
Milestone

Comments

@rotiwari
Copy link

rotiwari commented Dec 1, 2022

Describe the bug

Command Name
az extension add --upgrade --name scvmm

Errors:

An error occurred. Pip failed with status code 2. Use --debug for more information.
      File "xml\parsers\expat.py", line 4, in <module>
    ModuleNotFoundError: No module named 'pyexpat'

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 extension add --upgrade --name {} --debug

With 2.41.0 AZ Cli version the command works fine without any error.

Expected Behavior

The CLI extension should have been installed without any error.

Environment Summary

Windows-10-10.0.22621-SP0
Python 3.10.8
Installer: MSI

azure-cli 2.42.0

Extensions:
arcappliance 0.2.32-upgrade

customlocation 0.1.3
k8s-extension 1.3.6

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Additional Context

This seems to be some regression between 2.41.0 CLI version and 2.42.0 CLI version
extensioninstallationerror.txt

@yonzhan yonzhan added the Extensions `az extension` commands or extension infrastructure label Dec 1, 2022
@yonzhan yonzhan added Azure CLI Team The command of the issue is owned by Azure CLI team bug This issue requires a change to an existing behavior in the product in order to be resolved. labels Dec 1, 2022
@yonzhan yonzhan added this to the Backlog milestone Dec 1, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Dec 1, 2022

@kairu-ms for awareness

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure CLI Team The command of the issue is owned by Azure CLI team Extensions `az extension` commands or extension infrastructure feature-request
Projects
None yet
Development

No branches or pull requests

3 participants