This is a problem with python as this same script runs fine on my host OS

Trying to run https://raw.githubusercontent.com/orangetw/awesome-jenkins-rce-2019/master/exp.py

gives this error:

...