You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.
When running mvn clean install I get the below error (after successful 64-bit python setup.py install) but it doesnt say what the missing dependent libraries are. Not sure at all what to do here?
org.jpy.PyLibTest Time elapsed: 0.001 sec <<< ERROR!
java.lang.UnsatisfiedLinkError: C:\workspaces\jpy\build: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1814)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1083)
at org.jpy.PyLib.loadLib(PyLib.java:352)
at org.jpy.PyLib.(PyLib.java:366)
at org.jpy.PyLibTest.setUpClass(PyLibTest.java:27)
this is after i changed the code that was occurring in my other issue about compiling with 1.8.
in pyobject:
public void setAttribute(String name, Object value) {
assertPythonRuns();
Class clazz;
if (value != null) {
clazz = value.getClass();
} else {
clazz = null;
}
PyLib.setAttributeValue(getPointer(), name, value, clazz);
}
also had to add this otherwise got the below exception:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<systemPropertyVariables>
<jpy.jpyLib>C:\app\python\Lib</jpy.jpyLib>
</systemPropertyVariables>
</configuration>
</plugin>
java.lang.ExceptionInInitializerError: null
at org.jpy.PyLibConfig.getProperty(PyLibConfig.java:117)
at org.jpy.PyLib.loadLib(PyLib.java:345)
at org.jpy.PyLib.<clinit>(PyLib.java:366)
at org.jpy.PyLibTest.setUpClass(PyLibTest.java:27)
python setup final output was:
OK
JPy_free: freeing module data...
JPy_free: done freeing module data
setting environment variable 'PYTHONPATH' to None
jpy binary build is 'build\jpy.win-amd64-3.4.zip'
jpy installed into 'C:\app\python\Lib\site-packages\'
The text was updated successfully, but these errors were encountered:
java.lang.UnsatisfiedLinkError means, Java VM can't find the the DLLs which were just built. I'll have a look into this on Monday. Does it only appear with your 1.8 change?
java.lang.UnsatisfiedLinkError means, Java VM can't find the the DLLs
which were just built. I'll have a look into this on Monday. Does it only
appear with your 1.8 change?
—
Reply to this email directly or view it on GitHub #46 (comment).
Am I doing something wrong?
When running mvn clean install I get the below error (after successful 64-bit python setup.py install) but it doesnt say what the missing dependent libraries are. Not sure at all what to do here?
org.jpy.PyLibTest Time elapsed: 0.001 sec <<< ERROR!
java.lang.UnsatisfiedLinkError: C:\workspaces\jpy\build: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1814)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1083)
at org.jpy.PyLib.loadLib(PyLib.java:352)
at org.jpy.PyLib.(PyLib.java:366)
at org.jpy.PyLibTest.setUpClass(PyLibTest.java:27)
this is after i changed the code that was occurring in my other issue about compiling with 1.8.
in pyobject:
also had to add this otherwise got the below exception:
The text was updated successfully, but these errors were encountered: