Do you have a static build of Python? Where are you getting your Python from?
Note that static Python is generally much harder to use (unless you’re OK sticking with the standard library and pure Python modules as modules requiring compilation need code to inject into the static build’s lookup tables).