Thank you for the reference, a comment there helped me.
When import snappy I get a SEVERE log message
The environment variable LD_LIBRAY_PATH does not contain the current folder ‘.’
I found a post with the same problem siting the reason in another link, but the link inside no longer work to
For sake of completeness, this is the process I did:
I used OpenJDK 8, a version the docs say is supported
I forked the latest version of jpy from github (0.9) and built it with maven3.6.
Don’t know why, version 0.10 of the wheel got built (in /dist)
I installed (pip install jpy.whl) the package
running ./snappy-conf builds the snappy module with jpy inside but thanks to this comment from stackoverflow (from the post gnwiii mentioned) I understood the problem:
initfizzbuzz
is the python2 naming scheme, python3 needsPyInit_libfizzbuzz
. So if you know your library is built for python3 and you get the error msg. in in the original question, probably some python2 interpreter got into the way.
Apparently the snappy-conf includes the jpy, no need to manually install. But for some reason (maybe I installed SNAP with python2.7?) it compiles jpy for py2.7 and not py3
I solved the issue by REMOVING all jpy related files from snappy module so to default to the module installed in site-packages, I hope this does not bite me later on.