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 9606b55 commit ccebc53Copy full SHA for ccebc53
USAGE.md
@@ -47,8 +47,8 @@ As a *bare minimum*, you can do the following:
47
NSString *pythonHome = [NSString stringWithFormat:@"%@/python", resourcePath, nil];
48
NSString *appPath = [NSString stringWithFormat:@"%@/app", resourcePath, nil];
49
50
- setenv("PYTHONHOME", pythonHome, 1);
51
- setenv("PYTHONPATH", appPath, 1);
+ setenv("PYTHONHOME", [pythonHome UTF8String], 1);
+ setenv("PYTHONPATH", [appPath UTF8String], 1);
52
53
Py_Initialize();
54
0 commit comments