-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Python v3.10.x - Table Output - ImportError: cannot import name 'Iterable' from 'collections' #22821
Comments
ARM |
Any news on this issue ? |
@zhoxing-ms , @jiasli , in my case, even though yes I am running on Ubuntu (not Debian directly), AzureCLI was installed via Python, not via the package manager. This is how we have installed it:
|
The I can't reproduce this error with above steps:
Could you run If you want to use pip, creating a virtual environment first is recommended. See #20476. Please also note that we recommend using the official Azure CLI DEB package to install. Please see #19640. |
@jiasli The issue was indeed the Thanks for your help! EDIT: If anyone ends up here looking at this same issue, in my case, turns out |
Describe the bug
-o table
output does not work as of Python v3.10.x.Errors:
To Reproduce:
-o table
output format(I've been testing withaz deployment group validate [...] -o table
Afer running in
--debug
mode, I found that the issue pertains to using Python 3.10.x specifically. It returns the following error, which I've seen referenced here and there in the AzureCLI Github issues, namely: #20444, meaning this fix has already been done, yet keeps coming back.Expected Behavior
Should return a table output.
Environment Summary
Additional Context
The text was updated successfully, but these errors were encountered: