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 extension add --name aks-preview` fail

See original GitHub issue

This is autogenerated. Please review and update as needed.

Describe the bug

az extension add --name aks-preview --debug

Command Name az extension add --name aks-preview

Errors:

An error occurred. Pip failed with status code 1. Use --debug for more information.

–debug revealed the following

ModuleNotFoundError: No module named 'pip._internal.utils.typing'


## 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 --name aks-preview`

## Expected Behavior
successful install

## Environment Summary

Windows-10-10.0.22000-SP0 Python 3.10.4 Installer: MSI

azure-cli 2.36.0

Extensions: resource-graph 2.1.0 storage-blob-preview 0.6.1 webapp 0.4.0

Dependencies: msal 1.17.0 azure-mgmt-resource 20.0.0

## Additional Context

<!--Please don't remove this:-->
<!--auto-generated-->

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
StevenTCramercommented, May 11, 2022
az extension add --name aks-preview
The installed extension 'aks-preview' is in preview.

Thanks 😃

1reaction
navba-MSFTcommented, May 11, 2022

@StevenTCramer It seems like some of the pip files are missing in your environment. Please try the below action plan for now:

Go to Control Panel > Uninstall a program , uninstall Microsoft Azure CLI Delete C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2 Install the latest Azure CLI from scratch

Refer https://github.com/Azure/azure-cli/issues/20990

Awaiting your reply.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cluster extensions for Azure Kubernetes Service (AKS)
Learn how to deploy and manage the lifecycle of extensions on Azure Kubernetes Service (AKS)
Read more >
azure and a problem with az cli with aks-preview extension
az extension add --name aks-preview. Now my az aks update command resulted with new error. cannot import name 'map_azure_error_to_cli_error'.
Read more >
How to install the latest extension in Azure CLI - Stack Overflow
Simply run az extension update --name aks-preview.
Read more >
AKS: Enabling and using preview features such as nodepools ...
ContainerService ## (2) Install the aks-preview extension az extension add --name aks-preview ## (3) Update the extension to make sure you ...
Read more >
Create Azure AKS Cluster with Windows Server Containers ...
az login · # Install the aks-preview extension az extension add --name aks-preview # Update the extension to make sure you have the...
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