Skip to content

Commit

Permalink
unset PYTHONHOME on Windows to avoid eventual problems with a conflic…
Browse files Browse the repository at this point in the history
…ting Python installation
  • Loading branch information
wwmayer committed Feb 8, 2017
1 parent b3ca0ba commit 0598af8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Main/MainGui.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 0598af8

Please sign in to comment.