check for python3.9m in loadLibraries
This commit is contained in:
parent
63e746dffc
commit
739437e7c1
1 changed files with 3 additions and 2 deletions
|
@ -18,6 +18,7 @@ public class PythonUtil {
|
||||||
"python3.5m",
|
"python3.5m",
|
||||||
"python3.6m",
|
"python3.6m",
|
||||||
"python3.7m",
|
"python3.7m",
|
||||||
|
"python3.9m",
|
||||||
"main"
|
"main"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -37,7 +38,7 @@ public class PythonUtil {
|
||||||
// If this is the last possible libpython
|
// If this is the last possible libpython
|
||||||
// load, and it has failed, give a more
|
// load, and it has failed, give a more
|
||||||
// general error
|
// general error
|
||||||
if (lib.startsWith("python3.7") && !foundPython) {
|
if (lib.startsWith("python3.9") && !foundPython) {
|
||||||
throw new java.lang.RuntimeException("Could not load any libpythonXXX.so");
|
throw new java.lang.RuntimeException("Could not load any libpythonXXX.so");
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue