unset PYTHONHOME on Windows to avoid eventual problems with a conflicting Python installation
This commit is contained in:
parent
b3ca0ba4b6
commit
0598af8a08
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user