I found a potential clue about clearing the executable stack, see link below for an example…could this be it? I’m going to try but not 100% sure how to do it correctly
https://stackoverflow.com/questions/39136040/python3-4-error-cannot-enable-executable-stack-as-shared-object-requires-inva