Set Py_FrozenFlag, to suppress error messages from getpath.c.
diff --git a/Python/frozenmain.c b/Python/frozenmain.c
index c823fa1..c1a8f3f 100644
--- a/Python/frozenmain.c
+++ b/Python/frozenmain.c
@@ -49,6 +49,8 @@
 	int inspect = 0;
 	int unbuffered = 0;
 
+	Py_FrozenFlag = 1; /* Suppress errors from getpath.c */
+
 	if ((p = getenv("PYTHONINSPECT")) && *p != '\0')
 		inspect = 1;
 	if ((p = getenv("PYTHONUNBUFFERED")) && *p != '\0')