Yeah it's weird I know. The game python that the Renpy maker build for those version must be run with that option: you must not set the ENV
and you also must specifically tell it to ignore the ENV, unless you will get those error: "ImportError: No module named site".
That is the main error, Python can't locate "site" module to properly run. The "Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]" error is kinda "miss-leading" the focus.
You must be registered to see the links
, the man himself tell that you can safely ignored it when some one asked about building renpy (kinda shows he build his modified python version for his engine).
Fun facts, we don't have to set or ignore ENV for games that made with Renpy Version 7.4.0 to 7.5.4, but starting from Renpy v8 we must specifically set the ENV through PYTHONHOME and PYTHONPATH