--- lib/init/grass.py.orig
+++ lib/init/grass.py
@@ -105,7 +105,7 @@
 WINDOWS = sys.platform.startswith("win")
 CYGWIN = sys.platform.startswith("cygwin")
 MACOS = sys.platform.startswith("darwin")
-
+os.environ["GRASS_PYTHON"] = "@PYBIN@"
 
 def decode(bytes_, encoding=ENCODING):
     """Decode bytes with default locale and return (unicode) string
