-
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
tabulate
failure: ImportError: cannot import name 'Iterable' from 'collections'
#20348
Comments
As shown in #20125 (comment),
This is due to a bug of Azure CLI has bumped The reason why we rushed the Python 3.10 onboarding (Homebrew/homebrew-core#86758) (even though it is not fully compatible with Azure CLI due to this |
@alsastre, According to https://formulae.brew.sh/formula/python@3.9, Homebrew hasn't take the latest Python 3.9.9 yet which has https://bugs.python.org/issue45235 fixed: After that, this issue could have been easily resolved by installing a previous version of Azure CLI, BUT it is difficult to install a previous version with Homebrew. Homebrew also discourages installing previous versions. See Homebrew/discussions#155. Our release schedule is fixed and Azure CLI 2.31.0 will be released on 2021-12-07. If you really need to use |
Homebrew has now released Python 3.9.9 (https://formulae.brew.sh/formula/python@3.9). As a workaround, you may install Python 3.9.9 first and then install Azure CLI with # Uninstall Azure CLI installed by brew
brew uninstall azure-cli
# Uninstall Python 3.10 first if you have it
brew uninstall python@3.10
# Install Python 3.9
brew install python@3.9
# Install the latest Azure CLI from PyPI
pip3 install azure-cli |
looks like fix is in |
tabulate
failure: ImportError: cannot import name 'Iterable' from 'collections'
I confirmed this workaround is working perfectly |
Azure-CLI 2.31.0 was released today: https://github.com/Azure/azure-cli/releases/tag/azure-cli-2.31.0. I upgraded to 2.31.0 and no longer see the |
Thanks @ilhaan for the confirmation. Yes, Azure CLI 2.31.0 was released by Homebrew/homebrew-core#90628. This issue should now be fixed. Please update Azure CLI to the latest version 2.31.0:
|
however
still looks broken to me. This used to work. What am I doing wrong? I get the same result if I include a query like in the example:
Originally posted by @Crayeth in #20269 (comment)
The text was updated successfully, but these errors were encountered: