I’m building an execution environment with ansible-builder
. Every time I run it I get this error:
#24 0.269 /usr/bin/python3: can’t open file ‘/output/scripts/introspect.py’: [Errno 2] No such file or directory
#24 ERROR: executor failed running [/bin/sh -c $PYCMD /output/scripts/introspect.py introspect –user-pip=requirements.txt –user-bindep=bindep.txt –write-bindep=/tmp/src/bindep.txt –write-pip=/tmp/src/requirements.txt]: exit code: 2
I don’t reference the introspect.py
file in my definition so I assume it’s related to the collections dependency introspection and should’ve been created with the build context during the ansible-builder create
step.
Why am I getting this error and how do I fix it?