Skip to content

Commit f6de688

Browse files
Explicitly set Python Home
1 parent b94a0c1 commit f6de688

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

source/main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ int main(int argc, char *argv[])
2323
Py_NoUserSiteDirectory = 1;
2424
//Py_VerboseFlag += 1;
2525

26-
/* not the real path, but this should make it look for modules in ./lib */
27-
Py_SetProgramName(L"./bin/python");
26+
Py_SetPythonHome(L"./");
2827

2928
Py_Initialize();
3029

0 commit comments

Comments
 (0)