Ben Steffensmeier

Results 231 comments of Ben Steffensmeier

Closing due to inactivity, please reopen if someone is still actively trying to package jep for nixpkgs.

If you are not having problems related to the architexture I suspect it is failing to load libpython instead of calling setJepLibraryPath can you use setInitParams instead and set the...

@jenarros-lw if you set both the JepLibraryPath and python home then python home is ignored. Try only setting python home and not JepLibraryPath.

If the library fails to load it is likely caused because a dependent library can not be loaded. Usually this is caused because libpython can not be found. I recommend...

Sometimes these sorts of issues can be resolved if there are other modules that numba and llvmlite are using that can be added to the list of shared modules. Unfortunately...

It looks like there may be problems with some versions of [java when LD_LIBRARY_PATH is used](https://bugs.archlinux.org/task/77183). The jep script sets LD_LIBRARY_PATH to help find libjep but on most linux systems...

> Unrecognized option: -c > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. This error indicates that the JVM was...

It looks like sentence transformer is [using a multiprocessing mechanism](https://github.com/UKPLab/sentence-transformers/blob/454cb376cb54b7e17538dc85983e4c1e36fa4a99/sentence_transformers/SentenceTransformer.py#L337-L351) which is trying to spawn new processes. I suspect it is trying to start python processes however since jep is...

You should close the SharedINterpreter when you are done with it. If that does not solve it then the exception you mentioned is coming from android, not from jep, if...

It looks like you are using a virtual environment. Make sure your virtual environment is active before starting your java program. #513 may have some information that can help you.