Closed aghasemi closed 6 months ago
Describe the bug Hello,
Running the example below on Ubunru 22.04 leads to the UnsatisifiedLinkError, although JAVA_HOME is installed and jep package is installed via pip.
UnsatisifiedLinkError
JAVA_HOME
jep
//DEPS black.ninia:jep:4.1.1 import jep.NDArray; import jep.SharedInterpreter; public class JEPTest { static { System.out.println("JEP: "+System.getProperty("java.version")); } public static void main(String[] args) { try(SharedInterpreter py = new SharedInterpreter()) { float[] f = new float[] { 1.0f, 2.1f, 3.3f, 4.5f, 5.6f, 6.7f }; NDArray<float[]> nd = new NDArray<>(f, 3, 2); py.set("x", nd); } } }
Is it because of Python 3.10 (or Java 20)?
Thanks
Have you already tried the steps in the FAQ.
Thanks for the hint. Using MainInterpreter.setJepLibraryPath("/usr/local/lib/python3.10/dist-packages/jep/libjep.so"); solved the issue.
MainInterpreter.setJepLibraryPath("/usr/local/lib/python3.10/dist-packages/jep/libjep.so");
Describe the bug Hello,
Running the example below on Ubunru 22.04 leads to the
UnsatisifiedLinkError
, althoughJAVA_HOME
is installed andjep
package is installed via pip.Is it because of Python 3.10 (or Java 20)?
Thanks