From 29457fb6d6d9adfa17021a3b70e9bade3de15f1a Mon Sep 17 00:00:00 2001 From: Afaq <45089292+afaq1337@users.noreply.github.com> Date: Mon, 10 Apr 2023 19:28:35 +0500 Subject: [PATCH] Update weirdAAL.py Fixed: ImportError: cannot import name 'Iterable' from 'collections' for python3.11 version The error occurs because the `weirdAAL.py` script attempts to import the Iterable class from the collections module, which does not include this class in Python 3.11. In Python 3.11, the Iterable class is included in the collections.abc module instead. --- weirdAAL.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/weirdAAL.py b/weirdAAL.py index fac3189..727d98b 100755 --- a/weirdAAL.py +++ b/weirdAAL.py @@ -15,7 +15,10 @@ import sys import builtins import re -from tabulate import tabulate +#from tabulate import tabulate +from collections.abc import Iterable +from collections import namedtuple + import textwrap # Let a user set .aws/credentials or another file as the credentials source