Skip to content

ImportError: cannot import name 'DEFAULTS_SECTION' #50

Closed
@hursitcakmakci

Description

@hursitcakmakci

I installed an extension Azure CLI Tools and feature Intellisense doesn't autocomplete. I get the following error in developer tools.

My Version of Software are:

Azure-CLI version: 2.0.62
Azure Tools Version: 0.0.6
Azure CLI Tools Version: 0.4.4
VS Code Version: 1.33.1

Developer Tools

Traceback (most recent call last):
File "C:\Users\hursi.vscode\extensions\ms-vscode.azurecli-0.4.4\service\start.py", line 6, in
import azservice.main
File "C:\Users\hursi.vscode\extensions\ms-vscode.azurecli-0.4.4\service\azservice_main_.py", line 17, in
from azservice.tooling import GLOBAL_ARGUMENTS, initialize, load_command_table, get_help, get_current_subscription, get_configured_defaults, get_defaults, is_required, run_argument_value_completer, get_arguments, load_arguments, arguments_loaded
File "C:\Users\hursi.vscode\extensions\ms-vscode.azurecli-0.4.4\service\azservice\tooling.py", line 12, in
from azservice.tooling2 import GLOBAL_ARGUMENTS, initialize, load_command_table, get_help, get_current_subscription, get_configured_defaults, get_defaults, is_required, run_argument_value_completer, get_arguments, load_arguments, arguments_loaded
File "C:\Users\hursi.vscode\extensions\ms-vscode.azurecli-0.4.4\service\azservice\tooling2.py", line 17, in
from azure.cli.core._config import GLOBAL_CONFIG_PATH, DEFAULTS_SECTION
ImportError: cannot import name 'DEFAULTS_SECTION'

t.log @ console.ts:134

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions