unset PYTHONHOME on Windows to avoid eventual problems with a conflicting Python installation

This commit is contained in:
wmayer 2017-02-08 21:43:55 +01:00
parent b3ca0ba4b6
commit 0598af8a08

View File

@ -109,6 +109,9 @@ int main( int argc, char ** argv )
#else
setlocale(LC_NUMERIC, "C");
_putenv("PYTHONPATH=");
// https://forum.freecadweb.org/viewtopic.php?f=4&t=18288
// https://forum.freecadweb.org/viewtopic.php?f=3&t=20515
_putenv("PYTHONHOME=");
#endif
#if defined (FC_OS_WIN32)