# AWX awxkit: AttributeError: 'CLI' object has no attribute 'verbose'

**URL:** <https://forum.ansible.com/t/awx-awxkit-attributeerror-cli-object-has-no-attribute-verbose/40626>\
**Category:** Get Help\
**Tags:** awx\
**Created:** [February 25, 2025, 8:32pm UTC](https://forum.ansible.com/t/awx-awxkit-attributeerror-cli-object-has-no-attribute-verbose/40626 "2025-02-25T20:32:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![apiening](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@apiening](https://forum.ansible.com/u/apiening)\
**Post date:** [February 25, 2025, 8:32pm UTC](https://forum.ansible.com/t/awx-awxkit-attributeerror-cli-object-has-no-attribute-verbose/40626/1 "2025-02-25T20:32:38Z")

</div>

I installed **awxkit** (24.6.1) in a clean **Python 3.13** virtual environment.  
Doing a `awx --help` gives me two errors:

- TypeError: HelpfulArgumentParser.\_parse\_known\_args() takes 3 positional arguments but 4 were given
- AttributeError: ‘CLI’ object has no attribute ‘verbose’

Is awxkit broken? Should I install a different version?

---

<div class="post-metadata">

**Author:** ![NomakCooper](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/nomakcooper/32/7309_2.png) [@NomakCooper](https://forum.ansible.com/u/NomakCooper)\
**Post date:** [February 25, 2025, 9:23pm UTC](https://forum.ansible.com/t/awx-awxkit-attributeerror-cli-object-has-no-attribute-verbose/40626/2 "2025-02-25T21:23:57Z")

</div>

Hi @apiening

> [@apiening](#):
>
> - TypeError: HelpfulArgumentParser.\_parse\_known\_args() takes 3 positional arguments but 4 were given
> - AttributeError: ‘CLI’ object has no attribute ‘verbose’

Personally, I don’t use AWX, but could it be related to this?

- Issue [AWX CLI crashes with Python 3.12.8 and 3.13.1 #15687](https://github.com/ansible/awx/issues/15687)

- PR [cli: fix TypeError in HelpfulArgumentParser for python 3.12.8 and 3.13.1 #15692](https://github.com/ansible/awx/pull/15692)

> <https://github.com/ansible/awx/blob/013d43bc462df152c0d18e8ca441eb6b44bc5a59/awxkit/awxkit/cli/utils.py#L50-L56>

---

<div class="post-metadata">

**Author:** ![apiening](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@apiening](https://forum.ansible.com/u/apiening)\
**Post date:** [February 26, 2025, 12:00pm UTC](https://forum.ansible.com/t/awx-awxkit-attributeerror-cli-object-has-no-attribute-verbose/40626/3 "2025-02-26T12:00:36Z")

</div>

Hi @NomakCooper,

yes this seems to be the issue I faced.  
I have created a Python 3.11 virtual environment and then it works! I will stick with this workaround until the PR is accepted since it is working fine for me now.

Thank you very much!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [March 28, 2025, 12:01pm UTC](https://forum.ansible.com/t/awx-awxkit-attributeerror-cli-object-has-no-attribute-verbose/40626/4 "2025-03-28T12:01:25Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
