Skip to content

az login failure on ubuntu20.4 #31840

@subhajitm

Description

@subhajitm

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az login

Errors:

ConnectRegistry
Traceback (most recent call last):
lib/python3.8/site-packages/six.py, ln 125, in __getattr__
    _module = self._resolve()
lib/python3.8/site-packages/six.py, ln 109, in _resolve
    return _import_module(self.mod)
lib/python3.8/site-packages/six.py, ln 76, in _import_module
    __import__(name)
ModuleNotFoundError: No module named 'winreg'

...

lib/python3.8/site-packages/six.py, ln 127, in __getattr__
    raise AttributeError(attr)
AttributeError: ConnectRegistry

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 login

Expected Behavior

Environment Summary

Linux-5.15.0-139-generic-x86_64-with-glibc2.29
Python 3.8.10
Shell: bash

azure-cli 2.0.81

Extensions:
azure-devops 0.17.0

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions