skip to Main Content

When running any azure commands e.g. az login I’m running into this error message Auto upgrade failed. 'pypi'

2

Answers


  1. Chosen as BEST ANSWER

    From this conversation on a GitHub issue it seems that auto-upgrade isn't actively maintained.

    enter image description here

    To resolve the error find the .azure/config file [On mac the path could be ~/.azure/config]

    [auto-upgrade]
    enable = no
    

  2. If using Azure CLI from Windows:

    The config is in C:Usersusername.azure

    https://learn.microsoft.com/en-us/cli/azure/azure-cli-configuration

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search