On Wed, 10 Jan 2024 at 10:52, Arunkumar Paramasivam <[email protected]>
wrote:

> I installed ansible using homebrew and was working until recent update


What was updated? Homebrew? or ansible? or both? or....?
Also, homebrew isn't listed as an installation method on
https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html
.
I would recommend picking an installation method from there.



> What am I missing? Any help would be appreciated. Thanks you
>
> I tried adding ansible_python_interpreter="/usr/bin/python3", but no luck.
>
> my python version in system
> ╰─➤  python -m pip -V
> pip 23.3.2 from
> /Users/aparamasivam/Library/Python/3.11/lib/python/site-packages/pip
> (python 3.11)
>
> ─➤  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/7190f30e-c7ba-493b-a041-14bc43f5f07fn%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/7190f30e-c7ba-493b-a041-14bc43f5f07fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAF8BbLYNTDP6SKHZO-3%2BpMu7YeBadHSj0PWWGtOk3CFk1XJBVQ%40mail.gmail.com.

Reply via email to