JFastText
JFastText copied to clipboard
linux环境下,java.lang.UnsatisfiedLinkError: no jniFastTextWrapper in java.library.path,环境已安装clang-3.3 python 2.6 or newer numpy & scipy
java.lang.UnsatisfiedLinkError: no jniFastTextWrapper in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) ~[?:1.8.0_91]
at java.lang.Runtime.loadLibrary0(Runtime.java:870) ~[?:1.8.0_91]
at java.lang.System.loadLibrary(System.java:1122) ~[?:1.8.0_91]
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:945) ~[stormjar.jar:?]
at org.bytedeco.javacpp.Loader.load(Loader.java:750) ~[stormjar.jar:?]
at org.bytedeco.javacpp.Loader.load(Loader.java:657) ~[stormjar.jar:?]
at com.github.jfasttext.FastTextWrapper.
how to slove this problem?Thanks
Hello Sir @hw210212 Please im facing the same problem. Did you solved it? If yes can you please provide me the solution Thankyou
Sir @hw210212,
I just resolved this issue. Just when you run the command run package you will get in the target folder two .jar. just taked these two jar and use them in your project. I dont know which type of project are you using. By the way Im using Jython.
By the way, if you have any idea about how to get an ngram vector for a given word i will thabk you
Hey guys! I am facing the problem as well. When I compile and run in Linux, everything works fine. But when I bring them to windows machine, I get this error.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jniFastTextWrapper in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:945)
Please note that I added the jars from target folder to my project build path, but it is not working. I also have gcc installed in the windows machine.
Please help.
where is the .so file?