Getting this error when running ansible-galaxy install -r ansible/requirements.yml
directly from first run of GOAD attempt
ERROR! Unexpected Exception, this is probably a bug: '_AnsiblePathHookFinder' object has no attribute 'find_spec'
the full traceback was:
Traceback (most recent call last):
File "/usr/local/bin/ansible-galaxy", line 97, in
mycli = getattr(import("ansible.cli.%s" % sub, fromlist=[myclass]), myclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/griff/.local/lib/python3.12/site-packages/ansible/cli/init.py", line 21, in
from ansible.inventory.manager import InventoryManager
File "/home/griff/.local/lib/python3.12/site-packages/ansible/inventory/manager.py", line 39, in
from ansible.utils.helpers import deduplicate_list
File "", line 1360, in _find_and_load
File "", line 1322, in _find_and_load_unlocked
File "", line 1262, in _find_spec
File "", line 1528, in find_spec
File "", line 1502, in _get_spec
AttributeError: '_AnsiblePathHookFinder' object has no attribute 'find_spec'
Getting this error when running ansible-galaxy install -r ansible/requirements.yml directly from first run of GOAD attempt
ERROR! Unexpected Exception, this is probably a bug: '_AnsiblePathHookFinder' object has no attribute 'find_spec' the full traceback was:
Traceback (most recent call last): File "/usr/local/bin/ansible-galaxy", line 97, in
mycli = getattr(import("ansible.cli.%s" % sub, fromlist=[myclass]), myclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/griff/.local/lib/python3.12/site-packages/ansible/cli/init.py", line 21, in
from ansible.inventory.manager import InventoryManager
File "/home/griff/.local/lib/python3.12/site-packages/ansible/inventory/manager.py", line 39, in
from ansible.utils.helpers import deduplicate_list
File "", line 1360, in _find_and_load
File "", line 1322, in _find_and_load_unlocked
File "", line 1262, in _find_spec
File "", line 1528, in find_spec
File "", line 1502, in _get_spec
AttributeError: '_AnsiblePathHookFinder' object has no attribute 'find_spec'