Hi
Trying to install frappe/press
Used script install to install bench
Frappe Framework: v15.56.0 (version-15)
bench get-app https://github.com/frappe/press
success
but the install-app fails
/frappe-bench$ bench --site site1.local install-app press
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'
Traceback with variables (most recent call last):
File "apps/frappe/frappe/commands/site.py", line 484, in install_app
_install_app(app, verbose=context.verbose, force=force)
context = {'sites': ['site1.local'], 'force': False, 'verbose': False, 'profile': False}
apps = ('press',)
force = False
_install_app = <function install_app at 0x7af48e1ac900>
filelock = <function filelock at 0x7af48e195d00>
exit_code = 0
site = 'site1.local'
app = 'press'
err = ModuleNotFoundError("No module named 'ansible.module_utils.six.moves'")
File "apps/frappe/frappe/installer.py", line 281, in install_app
app_hooks = frappe.get_hooks(app_name=name)
name = 'press'
verbose = False
set_as_patched = True
force = False
sync_jobs = <function sync_jobs at 0x7af48ca4c4a0>
sync_for = <function sync_for at 0x7af48ca4d1c0>
sync_customizations = <function sync_customizations at 0x7af48e146340>
sync_fixtures = <function sync_fixtures at 0x7af48ca4d4e0>
File "apps/frappe/frappe/__init__.py", line 1596, in get_hooks
hooks = _dict(_load_app_hooks(app_name))
hook = None
default = '_KEEP_DEFAULT_LIST'
app_name = 'press'
File "apps/frappe/frappe/utils/caching.py", line 59, in wrapper
return_val = func(*args, **kwargs)
args = ('press',)
kwargs = {}
args_key = ********
func = <function _load_app_hooks at 0x7af48e36e8e0>
File "apps/frappe/frappe/__init__.py", line 1568, in _load_app_hooks
app_hooks = get_module(f"{app}.hooks")
app_name = 'press'
hooks = {}
apps = ['press']
app = 'press'
types = <module 'types' from '/usr/lib/python3.12/types.py'>
File "apps/frappe/frappe/__init__.py", line 1434, in get_module
return importlib.import_module(modulename)
modulename = 'press.hooks'
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
name = 'press.hooks'
package = None
level = 0
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
name = 'press.hooks'
package = None
level = 0
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
name = 'press.hooks'
import_ = <function _gcd_import at 0x7af4901040e0>
module = <exception while printing> Traceback (most recent call last):
File "env/lib/python3.12/site-packages/traceback_with_variables/core.py", line 222, in _to_cropped_str
raw = print_(obj)
^^^^^^^^^^^
File "apps/frappe/frappe/utils/__init__.py", line 328, in dict_printer
if key in v:
^^^^^^^^
TypeError: argument of type 'object' is not iterable
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
name = 'press.hooks'
import_ = <function _gcd_import at 0x7af4901040e0>
path = ['apps/press/press']
parent = 'press'
parent_spec = ModuleSpec(name='press', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7af48e23ecf0>, origin='apps/press/press/__init__.py', submodule_search_locations=['apps/press/press'])
parent_module = <module 'press' from 'apps/press/press/__init__.py'>
child = 'hooks'
spec = ModuleSpec(name='press.hooks', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7af48ae55310>, origin='apps/press/press/hooks.py')
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
spec = ModuleSpec(name='press.hooks', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7af48ae55310>, origin='apps/press/press/hooks.py')
module = <module 'press.hooks' from 'apps/press/press/hooks.py'>
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
self = <_frozen_importlib_external.SourceFileLoader object at 0x7af48ae55310>
module = <module 'press.hooks' from 'apps/press/press/hooks.py'>
code = <code object <module> at 0x3923a7b0, file "apps/press/press/hooks.py", line 1>
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
f = <built-in function exec>
args = (<code object <module> at 0x3923a7b0, file "apps/press/press/hooks.py", line 1>, {'__name__': 'press.hooks', '__doc__': None, '__package__': 'press', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x7af48ae55310>, '__spec__': ModuleSpec(name='press.hooks', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7af48ae55310>, origin='apps/press/press/hooks.py'), '__file__': 'apps/press/press/hooks.py', '__cached__': 'apps/press/press/__pycache__/hooks.cpython-312.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules t...
kwds = {}
File "apps/press/press/hooks.py", line 1, in <module>
from press.api.account import get_frappe_io_auth_url
__name__ = 'press.hooks'
__doc__ = None
__package__ = 'press'
__loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x7af48ae55310>
__spec__ = ModuleSpec(name='press.hooks', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7af48ae55310>, origin='apps/press/press/hooks.py')
__file__ = 'apps/press/press/hooks.py'
__cached__ = 'apps/press/press/__pycache__/hooks.cpython-312.pyc'
__builtins__ = {'__name__': 'builtins', '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__package__': '', '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'), '__build_class__': <built-in function __build_class__>, '__import__': <built-in function __import__>, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'breakpoint': <built-in function breakpoint>, 'callable': <built-in f...
File "apps/press/press/api/account.py", line 24, in <module>
from press.api.site import protected
__name__ = 'press.api.account'
__doc__ = None
__package__ = 'press.api'
__loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x7af48ae55550>
__spec__ = ModuleSpec(name='press.api.account', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7af48ae55550>, origin='apps/press/press/api/account.py')
__file__ = 'apps/press/press/api/account.py'
__cached__ = 'apps/press/press/api/__pycache__/account.cpython-312.pyc'
__builtins__ = {'__name__': 'builtins', '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__package__': '', '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'), '__build_class__': <built-in function __build_class__>, '__import__': <built-in function __import__>, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'breakpoint': <built-in function breakpoint>, 'callable': <built-in f...
annotations = _Feature((3, 7, 0, 'beta', 1), None, 16777216)
json = <module 'json' from '/usr/lib/python3.12/json/__init__.py'>
re = <module 're' from '/usr/lib/python3.12/re/__init__.py'>
TYPE_CHECKING = False
frappe = <module 'frappe' from 'apps/frappe/frappe/__init__.py'>
pyotp = <module 'pyotp' from 'env/lib/python3.12/site-packages/pyotp/__init__.py'>
_ = <function _ at 0x7af48ebc5e40>
update_password = ********
find = <function find at 0x7af48af30680>
DoesNotExistError = <class 'frappe.exceptions.DoesNotExistError'>
GROUP_CONCAT = <class 'frappe.query_builder.custom.GROUP_CONCAT'>
rate_limit = <function rate_limit at 0x7af48b8fd620>
cint = <function cint at 0x7af48e9f6ac0>
get_url = <function get_url at 0x7af48e9f7e20>
sha256_hash = <function sha256_hash at 0x7af48e9f9580>
get_oauth2_authorize_url = <function get_oauth2_authorize_url at 0x7af48abc3d80>
get_oauth_keys = ********
get_decrypted_password = ********
build_response = <function build_response at 0x7af48b85bf60>
ValueWrapper = <class 'frappe.query_builder.terms.ParameterizedValueWrapper'>
File "apps/press/press/api/site.py", line 28, in <module>
from press.press.doctype.agent_job.agent_job import job_detail
__name__ = 'press.api.site'
__doc__ = None
__package__ = 'press.api'
__loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x7af48abc4890>
__spec__ = ModuleSpec(name='press.api.site', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7af48abc4890>, origin='apps/press/press/api/site.py')
__file__ = 'apps/press/press/api/site.py'
__cached__ = 'apps/press/press/api/__pycache__/site.cpython-312.pyc'
__builtins__ = {'__name__': 'builtins', '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__package__': '', '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'), '__build_class__': <built-in function __build_class__>, '__import__': <built-in function __import__>, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'breakpoint': <built-in function breakpoint>, 'callable': <built-in f...
annotations = _Feature((3, 7, 0, 'beta', 1), None, 16777216)
json = <module 'json' from '/usr/lib/python3.12/json/__init__.py'>
TYPE_CHECKING = False
dns = <module 'dns' from 'env/lib/python3.12/site-packages/dns/__init__.py'>
frappe = <module 'frappe' from 'apps/frappe/frappe/__init__.py'>
requests = <module 'requests' from 'env/lib/python3.12/site-packages/requests/__init__.py'>
wrapt = <module 'wrapt' from 'env/lib/python3.12/site-packages/wrapt/__init__.py'>
client = <function client at 0x7af48a7dba60>
ClientError = <class 'botocore.exceptions.ClientError'>
Resolver = <class 'dns.resolver.Resolver'>
find = <function find at 0x7af48af30680>
add_tag = <function add_tag at 0x7af48af69da0>
flt = <function flt at 0x7af48e9f6a20>
sbool = <function sbool at 0x7af48e9f6d40>
time_diff_in_hours = <function time_diff_in_hours at 0x7af48e9f4900>
get_decrypted_password = ********
is_system_user = <function is_system_user at 0x7af48aba4680>
AAAARecordExists = <class 'press.exceptions.AAAARecordExists'>
ConflictingCAARecord = <class 'press.exceptions.ConflictingCAARecord'>
ConflictingDNSRecord = <class 'press.exceptions.ConflictingDNSRecord'>
MultipleARecords = <class 'press.exceptions.MultipleARecords'>
MultipleCNAMERecords = <class 'press.exceptions.MultipleCNAMERecords'>
File "apps/press/press/press/doctype/agent_job/agent_job.py", line 28, in <module>
from press.press.doctype.site_database_user.site_database_user import SiteDatabaseUser
__name__ = 'press.press.doctype.agent_job.agent_job'
__doc__ = None
__package__ = 'press.press.doctype.agent_job'
__loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x7af48a7e0410>
__spec__ = ModuleSpec(name='press.press.doctype.agent_job.agent_job', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7af48a7e0410>, origin='apps/press/press/press/doctype/agent_job/agent_job.py')
__file__ = 'apps/press/press/press/doctype/agent_job/agent_job.py'
__cached__ = 'apps/press/press/press/doctype/agent_job/__pycache__/agent_job.cpython-312.pyc'
__builtins__ = {'__name__': 'builtins', '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__package__': '', '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'), '__build_class__': <built-in function __build_class__>, '__import__': <built-in function __import__>, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'breakpoint': <built-in function breakpoint>, 'callable': <built-in f...
annotations = _Feature((3, 7, 0, 'beta', 1), None, 16777216)
json = <module 'json' from '/usr/lib/python3.12/json/__init__.py'>
os = <module 'os' (frozen)>
random = <module 'random' from '/usr/lib/python3.12/random.py'>
traceback = <module 'traceback' from '/usr/lib/python3.12/traceback.py'>
frappe = <module 'frappe' from 'apps/frappe/frappe/__init__.py'>
find = <function find at 0x7af48af30680>
Document = <class 'frappe.model.document.Document'>
add_data_to_monitor = <function add_data_to_monitor at 0x7af48e1ef1a0>
add_days = <function add_days at 0x7af48e9f4400>
cint = <function cint at 0x7af48e9f6ac0>
convert_utc_to_system_timezone = <function convert_utc_to_system_timezone at 0x7af48e9f4d60>
cstr = <function cstr at 0x7af48e9f6ca0>
get_datetime = <function get_datetime at 0x7af48e9ebe20>
now_datetime = <function now_datetime at 0x7af48e9f49a0>
Agent = <class 'press.agent.Agent'>
AgentCallbackException = <class 'press.agent.AgentCallbackException'>
AgentRequestSkippedException = <class 'press.agent.AgentRequestSkippedException'>
is_owned_by_team = <function is_owned_by_team at 0x7af48ad0c2c0>
get_retryable_job_types_and_max_retry_count = <function ttl_cache.__call__.<locals>.wrapper_func at 0x7af48a634f40>
File "apps/press/press/press/doctype/site_database_user/site_database_user.py", line 13, in <module>
from press.overrides import get_permission_query_conditions_for_doctype
__name__ = 'press.press.doctype.site_database_user.site_database_user'
__doc__ = None
__package__ = 'press.press.doctype.site_database_user'
__loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x7af48a7e3f80>
__spec__ = ModuleSpec(name='press.press.doctype.site_database_user.site_database_user', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7af48a7e3f80>, origin='apps/press/press/press/doctype/site_database_user/site_database_user.py')
__file__ = 'apps/press/press/press/doctype/site_database_user/site_database_user.py'
__cached__ = 'apps/press/press/press/doctype/site_database_user/__pycache__/site_database_user.cpython-312.pyc'
__builtins__ = {'__name__': 'builtins', '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__package__': '', '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'), '__build_class__': <built-in function __build_class__>, '__import__': <built-in function __import__>, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'breakpoint': <built-in function breakpoint>, 'callable': <built-in f...
annotations = _Feature((3, 7, 0, 'beta', 1), None, 16777216)
re = <module 're' from '/usr/lib/python3.12/re/__init__.py'>
Counter = <class 'collections.Counter'>
frappe = <module 'frappe' from 'apps/frappe/frappe/__init__.py'>
Document = <class 'frappe.model.document.Document'>
Agent = <class 'press.agent.Agent'>
dashboard_whitelist = <function dashboard_whitelist at 0x7af48ad0c400>
File "apps/press/press/overrides.py", line 13, in <module>
from press.runner import constants
__name__ = 'press.overrides'
__doc__ = None
__package__ = 'press'
__loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x7af48a638830>
__spec__ = ModuleSpec(name='press.overrides', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7af48a638830>, origin='apps/press/press/overrides.py')
__file__ = 'apps/press/press/overrides.py'
__cached__ = 'apps/press/press/__pycache__/overrides.cpython-312.pyc'
__builtins__ = {'__name__': 'builtins', '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__package__': '', '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'), '__build_class__': <built-in function __build_class__>, '__import__': <built-in function __import__>, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'breakpoint': <built-in function breakpoint>, 'callable': <built-in f...
partial = <class 'functools.partial'>
frappe = <module 'frappe' from 'apps/frappe/frappe/__init__.py'>
cleanup_tmp_file = <function cleanup_tmp_file at 0x7af48a664d60>
User = <class 'frappe.core.doctype.user.user.User'>
is_whitelisted = <function is_whitelisted at 0x7af48ea41bc0>
cint = <function cint at 0x7af48e9f6ac0>
File "apps/press/press/runner.py", line 5, in <module>
from ansible import constants, context
__name__ = 'press.runner'
__doc__ = None
__package__ = 'press'
__loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x7af48a639e80>
__spec__ = ModuleSpec(name='press.runner', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7af48a639e80>, origin='apps/press/press/runner.py')
__file__ = 'apps/press/press/runner.py'
__cached__ = 'apps/press/press/__pycache__/runner.cpython-312.pyc'
__builtins__ = {'__name__': 'builtins', '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__package__': '', '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'), '__build_class__': <built-in function __build_class__>, '__import__': <built-in function __import__>, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'breakpoint': <built-in function breakpoint>, 'callable': <built-in f...
json = <module 'json' from '/usr/lib/python3.12/json/__init__.py'>
frappe = <module 'frappe' from 'apps/frappe/frappe/__init__.py'>
wrapt = <module 'wrapt' from 'env/lib/python3.12/site-packages/wrapt/__init__.py'>
File "env/lib/python3.12/site-packages/ansible/constants.py", line 15, in <module>
from ansible.config.manager import ConfigManager, ensure_type, get_ini_config_value
__name__ = 'ansible.constants'
__doc__ = None
__package__ = 'ansible'
__loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x7af48a65f4a0>
__spec__ = ModuleSpec(name='ansible.constants', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7af48a65f4a0>, origin='env/lib/python3.12/site-packages/ansible/constants.py')
__file__ = 'env/lib/python3.12/site-packages/ansible/constants.py'
__cached__ = 'env/lib/python3.12/site-packages/ansible/__pycache__/constants.cpython-312.pyc'
__builtins__ = {'__name__': 'builtins', '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__package__': '', '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'), '__build_class__': <built-in function __build_class__>, '__import__': <built-in function __import__>, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'breakpoint': <built-in function breakpoint>, 'callable': <built-in f...
absolute_import = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0), 262144)
division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 131072)
print_function = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 1048576)
__metaclass__ = <class 'type'>
os = <module 'os' (frozen)>
re = <module 're' from '/usr/lib/python3.12/re/__init__.py'>
literal_eval = <function literal_eval at 0x7af48f8832e0>
Template = <class 'jinja2.environment.Template'>
ascii_letters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
digits = '0123456789'
File "env/lib/python3.12/site-packages/ansible/config/manager.py", line 29, in <module>
from ansible.module_utils.six.moves import configparser
__name__ = 'ansible.config.manager'
__doc__ = None
__package__ = 'ansible.config'
__loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x7af48a674860>
__spec__ = ModuleSpec(name='ansible.config.manager', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7af48a674860>, origin='env/lib/python3.12/site-packages/ansible/config/manager.py')
__file__ = 'env/lib/python3.12/site-packages/ansible/config/manager.py'
__cached__ = 'env/lib/python3.12/site-packages/ansible/config/__pycache__/manager.cpython-312.pyc'
__builtins__ = {'__name__': 'builtins', '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__package__': '', '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'), '__build_class__': <built-in function __build_class__>, '__import__': <built-in function __import__>, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'breakpoint': <built-in function breakpoint>, 'callable': <built-in f...
absolute_import = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0), 262144)
division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 131072)
print_function = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 1048576)
__metaclass__ = <class 'type'>
atexit = <module 'atexit' (built-in)>
io = <module 'io' (frozen)>
os = <module 'os' (frozen)>
sys = <module 'sys' (built-in)>
stat = <module 'stat' (frozen)>
tempfile = <module 'tempfile' from '/usr/lib/python3.12/tempfile.py'>
traceback = <module 'traceback' from '/usr/lib/python3.12/traceback.py'>
namedtuple = <function namedtuple at 0x7af48f944fe0>
yaml_load = <function load at 0x7af48b859c60>
SafeLoader = <class 'yaml.cyaml.CSafeLoader'>
ConfigData = <class 'ansible.config.data.ConfigData'>
AnsibleOptionsError = <class 'ansible.errors.AnsibleOptionsError'>
AnsibleError = <class 'ansible.errors.AnsibleError'>
to_text = <function to_text at 0x7af48a664360>
to_bytes = <function to_bytes at 0x7af48a664220>
to_native = <function to_text at 0x7af48a664360>
Sequence = <class 'collections.abc.Sequence'>
PY3 = True
string_types = (<class 'str'>,)
builtins.ModuleNotFoundError: No module named 'ansible.module_utils.six.moves'
ansible version : core 2.18.2
python version : 3.12.3
Would appreciate some guidance