I installed ansible using homebrew and was working fine for a while and 
recently started failing with this error message. any help to resolve this 
woule be appreciated, thank you.

╰─➤  ansible -v
ERROR! Unexpected Exception, this is probably a bug: module 'argcomplete' 
has no attribute 'autocomplete'
the full traceback was:

Traceback (most recent call last):
  File 
"/opt/homebrew/Cellar/ansible/9.1.0/libexec/lib/python3.12/site-packages/ansible/cli/__init__.py",
 
line 659, in cli_executor
    exit_code = cli.run()
                ^^^^^^^^^
  File 
"/opt/homebrew/Cellar/ansible/9.1.0/libexec/lib/python3.12/site-packages/ansible/cli/adhoc.py",
 
line 104, in run
    super(AdHocCLI, self).run()
  File 
"/opt/homebrew/Cellar/ansible/9.1.0/libexec/lib/python3.12/site-packages/ansible/cli/__init__.py",
 
line 156, in run
    self.parse()
  File 
"/opt/homebrew/Cellar/ansible/9.1.0/libexec/lib/python3.12/site-packages/ansible/cli/__init__.py",
 
line 462, in parse
    argcomplete.autocomplete(self.parser)
    ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'argcomplete' has no attribute 'autocomplete'

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3c267f95-6b1a-4bec-afe9-4d09fc7b2b8an%40googlegroups.com.

Reply via email to