check for python3.9m in loadLibraries

This commit is contained in:
Akinwale Ariwodola 2021-08-20 17:51:42 +01:00
parent 63e746dffc
commit 739437e7c1

View file

@ -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;