# Target Host Errors

### Missing Python Libraries

If you have an Ansible playbook that is failing on a target host, it's likely that the Python libraries on the target host, are incompatible with the version of Ansible.

This would present with an error message starting with:

```
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'ansible.module_utils.six.moves'
```

Here's what it would look like when running the playbook from the command line:

[![image.png](https://wiki.galaxydump.com/uploads/images/gallery/2025-01/scaled-1680-/oLSKBMVJg5AIupA1-image.png)](https://wiki.galaxydump.com/uploads/images/gallery/2025-01/oLSKBMVJg5AIupA1-image.png)

Here's what it would look like when running from RunDeck:

[![image.png](https://wiki.galaxydump.com/uploads/images/gallery/2025-01/scaled-1680-/jvZsmdwZWGlADaoK-image.png)](https://wiki.galaxydump.com/uploads/images/gallery/2025-01/jvZsmdwZWGlADaoK-image.png)

You can either downgrade the python library to a compatible version.  
Or, upgrade Ansible to a version that is compatible with the Python library on the target host.

See this page for the Python version range that each version of Ansible supports: [https://docs.ansible.com/ansible/latest/reference\_appendices/release\_and\_maintenance.html](https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html)