import name 'CaseInsensitiveDict' from 'azure.core.utils' when installing az extension #27380
Labels
Auto-Assign
Auto assign by bot
Auto-Resolve
Auto resolve by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
DevOps
Installation
Possible-Solution
Service Attention
This issue is responsible by Azure service team.
Similar-Issue
Milestone
Describe the bug
Hi Azure Cli team,
We are using Azure Devops to build our service and we started to see this failure when we tried to install extensions:
sudo az extension add --name quota --version 0.1.0 -y
cannot import name 'CaseInsensitiveDict' from 'azure.core.utils' (/opt/az/lib/python3.10/site-packages/azure/core/utils/init.py)
We installed azure cli with:
sudo apt-get install -y --allow-downgrades azure-cli=2.39.0-1~focal
The previous successful pipeline runs are also 2.39.0-1 so I dont know what changed.
Thanks
Related command
sudo az extension add --name quota --version 0.1.0 -y
Errors
cannot import name 'CaseInsensitiveDict' from 'azure.core.utils' (/opt/az/lib/python3.10/site-packages/azure/core/utils/init.py)
Issue script & Debug output
cannot import name 'CaseInsensitiveDict' from 'azure.core.utils' (/opt/az/lib/python3.10/site-packages/azure/core/utils/init.py)
Expected behavior
The package should be installed
Environment Summary
azure-cli 2.39.0-1
Additional context
No response
The text was updated successfully, but these errors were encountered: