Ansible Errors when running Playbook

Getting the following errors - can anyone help?

Traceback (most recent call last):
File “/usr/bin/ansible-playbook”, line 41, in
from multiprocessing import Lock
File “/usr/lib64/python2.7/multiprocessing/init.py”, line 65, in
from multiprocessing.util import SUBDEBUG, SUBWARNING
File “/usr/lib64/python2.7/multiprocessing/util.py”, line 40, in
from subprocess import _args_from_interpreter_flags
File “/usr/lib64/python2.7/subprocess.py”, line 432, in
import pickle
File “/usr/lib64/python2.7/pickle.py”, line 34, in
import struct
File “/usr/lib64/python2.7/struct.py”, line 1, in
from _struct import *
ImportError: /usr/lib64/python2.7/lib-dynload/_struct.so: invalid ELF header

Looks like you have a corrupted file or are running on a different CPU type (eg 386 vs Arm).

Hello,

Getting the following errors - can anyone help?

[...]

ImportError: /usr/lib64/python2.7/lib-dynload/_struct.so: invalid ELF header

what platform are you on?
How did you install python, ansible and the dependencies?

Regards,
Benjamin