We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4a73d2 commit 0fc150cCopy full SHA for 0fc150c
PythonScript/src/PythonHandler.cpp
@@ -97,9 +97,9 @@ void PythonHandler::initPython()
97
// Don't import site - if Python 2.7 doesn't find it as part of Py_Initialize,
98
// it does an exit(1) - AGH!
99
// unclear if this is still the case with python 3.12
100
- config.site_import = 0;
+ config.site_import = 1;
101
config.use_environment = 0;
102
- config.user_site_directory = 0;
+ config.user_site_directory = 1;
103
104
#ifdef _DEBUG
105
config.verbose = 1;
0 commit comments