-
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
Failed to install asammdf: error: CCompiler.compile: Chaquopy cannot compile native code #1242
Comments
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. |
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, 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. |
@RicBar10 i am facing the same problem.if you were successful in solving it for yourself can you share how you did it step by step?the given instructions are not straightforward and i failed at the end because didn't know exactly what to do. |
There's already an issue for netfilterqueue (#863), but most of the comments there are not specific to this package. |
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: