# ERROR! Unexpected Exception, this is probably a bug: module 'argcomplete' has no attribute 'autocomplete'

**URL:** <https://forum.ansible.com/t/error-unexpected-exception-this-is-probably-a-bug-module-argcomplete-has-no-attribute-autocomplete/38643>\
**Category:** Ansible Project\
**Created:** [January 10, 2024, 5:10am UTC](https://forum.ansible.com/t/error-unexpected-exception-this-is-probably-a-bug-module-argcomplete-has-no-attribute-autocomplete/38643 "2024-01-10T05:10:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arunkumar\_Paramasiva](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Arunkumar\_Paramasiva](https://forum.ansible.com/u/Arunkumar_Paramasiva)\
**Post date:** [January 10, 2024, 5:10am UTC](https://forum.ansible.com/t/error-unexpected-exception-this-is-probably-a-bug-module-argcomplete-has-no-attribute-autocomplete/38643/1 "2024-01-10T05:10:19Z")

</div>

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’
