# Failed to import the required Python library (netaddr)

**URL:** <https://forum.ansible.com/t/failed-to-import-the-required-python-library-netaddr/8429>\
**Category:** Get Help\
**Tags:** awx-operator, awx, ee, kubernetes\
**Created:** [September 11, 2024, 7:43am UTC](https://forum.ansible.com/t/failed-to-import-the-required-python-library-netaddr/8429 "2024-09-11T07:43:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![szelga](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/szelga/32/4698_2.png) [@szelga](https://forum.ansible.com/u/szelga)\
**Post date:** [September 11, 2024, 7:43am UTC](https://forum.ansible.com/t/failed-to-import-the-required-python-library-netaddr/8429/1 "2024-09-11T07:43:09Z")

</div>

AWX 24.6.1 is installed via `awx-operator` in k8s.

`community.zabbix.zabbix_agent` role suddenly stopped working. the error is the following:

```auto
fatal: [host-XYZ]: FAILED! => {"msg": "Failed to import the required Python library (netaddr) on automation-job-AAABBBCCC's Python /usr/bin/python. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"}

```

that is caused by [this line](https://github.com/ansible-collections/community.zabbix/blob/628d6dd521f7363803eeba6830d55da045ff78ac/roles/zabbix_agent/tasks/Linux.yml#L13). `community.zabbix.zabbix_agent` version is 2.1.0

the EE is `quay.io/ansible/awx-ee:24.6.1`, I’ve tried `latest` tag, the same.

in the pod in the `awx-task` deployment there is a package `netaddr` in the `/var/lib/awx/venv/awx` environment.

what can I do to debug this issue? can I just rebuild EEs and the project from scratch (w/o actually deleting it, because I don’t want to reconfigure the project again)?
