-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot import name 'Iterable' from 'collections' #20444
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm. Issue DetailsDescribe the bugCommand Name Errors:
To Reproduce:
Expected BehaviorEnvironment Summary
Additional Context
|
route to service team |
I am experiencing the same issue. This happens across some other commands too (along with I am also unable to use Environment Summary
|
@XBeg9 @Christophosaurus can you try to reinstall/repair az cli? |
Thanks @miwithro, I have tried this already. I have tried just simply uninstalling and re-installing as well as uninstalling, running |
@XBeg9 Try Annoyingly I can't remember the other commands that I was seeing errors with to try them out to see if it resolves the issue. But there is a possibility it fixes the issue as now when I run |
Sorry for the inconvenience. From the error message, the error is caused by the incompatibility between
Please consider the following workaround, otherwise, please use cloudshell from portal or wait for the next release to fix this issue. |
I just tried running ImportError: cannot import name 'Iterable' from 'collections' (/usr/local/Cellar/[email protected]/3.10.0_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/collections/__init__.py) @FumingZhang Any other things you'd recommend? |
my tabulate is at |
Duplicate of #20348 |
Thank you so much for your solution! I was able to run the command! |
The issue is with the Python version (>3.9)... Python realigned the modules.
|
@PratyushBasu, this issue has already been fixed. Please update to the latest Azure CLI. |
I was excecuting this below command but getting error... from inltk.inltk import setup ImportError: cannot import name 'Iterable' from 'collections' (C:\Users\manis\AppData\Local\Programs\Python\Python310\lib\collections_init_.py) |
@manish2645 |
Describe the bug
Command Name
az aks get-credentials
Errors:
To Reproduce:
az aks get-credentials --resource-group {} --name {} --subscription {} --admin
Expected Behavior
Environment Summary
Additional Context
The text was updated successfully, but these errors were encountered: