azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

ImportError: cannot import name 'SET' in cli 2.24.2

Open lisagreenview opened this issue 5 years ago • 1 comments

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az version

Errors:

cannot import name 'SET'
Traceback (most recent call last):
amlmodule\lib\site-packages\knack\cli.py, ln 231, in invoke
    cmd_result = self.invocation.execute(args)
azure\cli\core\commands\__init__.py, ln 556, in execute
    self.commands_loader.load_arguments(command)
site-packages\azure\cli\core\__init__.py, ln 518, in load_arguments
    loader.load_arguments(command)  # this adds entries to the argument registries
azure\cli\command_modules\resource\__init__.py, ln 33, in load_arguments
    load_arguments(self, command)
azure\cli\command_modules\resource\_params.py, ln 20, in load_arguments
    from azure.cli.core.local_context import LocalContextAttribute, SET, ALL
ImportError: cannot import name 'SET'

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 version

Expected Behavior

Environment Summary

Windows-10-10.0.19041-SP0
Python 3.6.10
Installer: PIP

azure-cli 2.24.2
azure-cli-ml 0.1.0.38576839

Extensions:
azure-cli-ml 0.1.0.38576839
ml 0.0.79

Additional Context

lisagreenview avatar Jun 09 '21 11:06 lisagreenview

Core

yonzhan avatar Jun 09 '21 12:06 yonzhan