-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
duckling: jpype1 error: Chaquopy cannot compile native code #120
Comments
It might be possible for us to support jpype. However, there's a more serious obstacle to using So I think the best approach is to add these JARs to your app as local binary dependencies, and then access them through the Chaquopy Python API. The cleanest way to do this would be to modify Alternatively, rather than porting the whole of |
I should mention that you wouldn't need any of the parts of |
@mhsmith Thanks for the reply. I have imported all the jars in app/lib and added Calling duckling imported into my app with chaquopy, I received the following error:
I assume this has to do with multiple JARS containing a I added
to see what would happen. When I attempted to run again, I received an error that the last line printed below doesn't work:
I modified the code to support java.jclass instead of jpype and commented out the jvm threading code and lock_release clause. Here are the first several lines of Duckling.py from python-duckling that I have in my
|
I'm not familiar with Clojure so I don't know what's going on here. However, I don't see any reason to comment out the code which uses If |
If this is still a problem, please provide the requested information and I'll reopen the issue. |
Since only one person has requested this package, we won't be adding it in the foreseeable future. If anyone else is interested, please post a comment and I'll reopen the issue. |
This may be similar to #78:
I have added
install "duckling"
to the pip section in build.gradle. It appears that duckling requires jpype1.
I am getting this error upon building:
The text was updated successfully, but these errors were encountered: