Error jpyutil.preload_jvm_dll()

Hello, I can not import snappy into python 3.4. I can import jpyutil and jpy. I installed JDK and JRE, I configured JDK_HOME and JRE_HOME. What will be the problem?

Did you run into any problems when installing snappy?
Did you try to re-configure snappy (using snappy-conf.bat in you SNAP installation’s bin-directory)?

I tested the installation in linux and got the same error
I created a virtual environment for Anaconda, installed jpy and reported the python directory, later copied and pasted the snap-python folder into sites-packags.
What else could you check?

>>> cd / home / user / snap / bin
>>> ./snappy-conf miniconda3 / envs / geov / bin / python3.4
>>> python
>>> import snappy
OSError: /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/ can not open shared object file: No such file or directory

The location of this file is wrong, you are in:
/ usser / lib / jvm / java-8-openjdk-amd64 / jre / lib / amd64 / server

Did you found any solution on this error?

1 Like