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'm trying to install asammdf in chaquopy to use this python library in my project but I can't find the way to solve this error: Chaquopy cannot compile native code
Chaquopy version
plugins {
id("com.android.application") version "8.5.0" apply false
id("com.chaquo.python") version "15.0.1" apply false
}
This package contains native components, so it would have to be built into an Android wheel file. If you'd like to try doing this yourself, follow the instructions here. And if you're successful, please make a pull request so we can add the package to the public repository.
If anyone else wants this package too, let us know by clicking the thumbs-up button above.
Hello, Thank you for your answer. I see that to use the building-wheel tool I need to create a PACKAGE with a meta.yaml. Inside this file I understood that in requirement:host: we need to add our requirements for the lib we want to build. For asammdf I see in the pypi website the requirements. But some of them like numexpr, wheel, canmatrix, natsort, and python-dateuil are not in the the public repository to save them manually in dist/ repository.
Should I create a package for those repositories too?
You only need to worry about the requirements which are native-compiled, i.e. those which DON'T have a "none-any" wheel in the package's "download files" page on PyPI. For example, numexpr is native, but wheel is pure-Python.
And even if you need to build some native requirements, they don't usually need to be listed in the meta.yaml file. Only requirements used during the build need to be listed there.
I'm trying to install asammdf in chaquopy to use this python library in my project but I can't find the way to solve this error: Chaquopy cannot compile native code
Chaquopy version
Relevant parts of your build.gradle file
Describe your issue
I'm trying to include a python interpreter in my code in order to run the library asammdf.
The text was updated successfully, but these errors were encountered: