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 660ce2f commit 6ec7814Copy full SHA for 6ec7814
src/legacy/main/PythonHelper.cpp
@@ -43,6 +43,9 @@ bool initPythonRuntime() {
43
const char* pathEnv = std::getenv("PATH");
44
auto paths = ll::string_utils::splitByPattern(pathEnv, ";");
45
std::vector<std::wstring> modulePaths;
46
+ modulePaths.push_back(lse::LegacyScriptEngine::getInstance().getSelf().getModDir() / "lib");
47
+ modulePaths.push_back(lse::LegacyScriptEngine::getInstance().getSelf().getModDir() / "DLLs");
48
+ modulePaths.push_back(lse::LegacyScriptEngine::getInstance().getSelf().getModDir() / "site-packages");
49
for (const auto& p : paths) {
50
if (p.find("Python") != std::string::npos) {
51
std::wstring wstr = ll::string_utils::str2wstr(p);
0 commit comments