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
I found a solution. I had been importing another python library that already initialized a JVM. So when I tried to initialize Duckling(), it skipped over the JVM creation and also skipped over the additions to the classpath. I was able to fix it by removing the other library which creates a JVM. But I would guess there is also a way to use the jvm_started=True flag and load the required jars into your existing JVM manually. Hope this helps!
Hi,
When i run
d = Duckling()
I get the following issue.
File "C:\Users\hi\Anaconda3\lib\site-packages\duckling\duckling.py", line 53, in init
self.clojure = jpype.JClass('clojure.java.api.Clojure')
File "C:\Users\hi\Anaconda3\lib\site-packages\jpype_jclass.py", line 73, in JClass
raise _RUNTIMEEXCEPTION.PYEXC("Class %s not found" % name)
java.lang.RuntimeExceptionPyRaisable: java.lang.RuntimeException: Class clojure.java.api.Clojure not found
How do i fix the same
The text was updated successfully, but these errors were encountered: