> On 23. Feb 2022, at 13:28, igor haase <i.ha...@bosselnet.ch> wrote:
> 
> [...]
> I get: File "/usr/bin/ansible", line 60, in <module>
>     import ansible.constants as C
>   File "/usr/lib/python3.6/site-packages/ansible/constants.py", line 19, in 
> <module>
>     from ansible.config.manager import ConfigManager, ensure_type, 
> get_ini_config_value
[...]

You seem to be running Ansible with an old Python version (3.6).
According to

    
https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#control-node-requirements

you should use Python 3.8 or newer on the control node, so that's
probably the first thing you should try.

Cheers
-Andi

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/317723C6-9EA9-4B41-AB69-07BF7655DC1F%40gmail.com.

Reply via email to