Frappe press error - builtins.ModuleNotFoundError: No module named 'ansible.module_utils.six.moves'

i tried to install frappe press app in linode
i get the app

frappe@localhost:~/frappe-bench$ bench get-app press

it works
and when i try to install

$ bench --site frappe-press.mysite.in install-app press

it throws the error

Could not find app "press": 
No module named 'ansible.module_utils.six.moves'
An error occurred while installing press: No module named 'ansible.module_utils.six.moves'

try to view the downloaded app using

$ bench version

also throws the same error

Could not find app "press": 
No module named 'ansible.module_utils.six.moves'
An error occurred while installing press: No module named 'ansible.module_utils.six.moves'

i m using

ubuntu 24.04
$ python --version
Python 3.12.3
$ ansible --version
ansible [core 2.18.7]
  config file = None
  configured module search path = ['/home/frappe/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/frappe/.local/lib/python3.12/site-packages/ansible
  ansible collection location = /home/frappe/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.12.3 (main, Jun 18 2025, 17:59:45) [GCC 13.3.0] (/usr/bin/python3)
  jinja version = 3.1.6
  libyaml = True

any help to resolve the issue ModuleNotFoundError