-
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
sisl in chaquopy #901
Comments
This package contains native components, so it would have to be built into a wheel file. The current version also depends on netCDF4 (#823) and Then, if you'd like to try building this package 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. |
Thank you for answering me! "Failed to install scipy==1.5.3 from https://files.pythonhosted.org/packages/93/63/4a566494594a13697c5d5d8a754d6e329d018ddf881520775e0229fa29ef/scipy-1.5.3.tar.gz#sha256=ddae76784574cc4c172f3d5edd7308be16078dd3b977e8746860c76c195fa707" so first ¿Is it possible to install scipy >=1.5? |
As #648 says, newer versions of SciPy are currently blocked on getting an Android Fortran compiler. Older versions of sisl may be able to work with older versions of SciPy, but I haven't checked. |
And it will be available SciPy >=1.5 soon? |
Probably not for at least another 6 months, sorry. |
it'd be really interesting |
Please post the entire build log, and as text, not an image. |
ERROR: Could not find a version that satisfies the requirement sisl==0.1.dev0 (from versions: 0.6.1, 0.6.2, 0.6.3, 0.7.4.dev0, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.7.9, 0.7.10, 0.7.13, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.9.0, 0.9.1, 0.9.2, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8, 0.10.0, 0.11.0, 0.12.0, 0.12.1rc4, 0.12.1, 0.12.2, 0.13.0rc2, 0.13.0) No matching distribution found for sisl==0.1.dev0 Chaquopy: Exit status 1
|
I said the ENTIRE build log. To display it in Android Studio, click the 'Build: failed' caption to the left of the message. |
Executing tasks: [:app:assembleDebug] in project /home/isabel/AndroidStudioProjects/GreetingCard2
FAILURE: Build failed with an exception.
To view full details in Android Studio:
BUILD FAILED in 11m 21s This is all from trying to install a local sisl package (with some modification) |
It looks like you've added the sisl source code location to the But there's no point in even trying to build sisl until the netCDF4 and SciPy requirements have been solved first. The netCDF4 work in #823 is close to completion, but SciPy will be much more difficult, so I suggest you check whether there's an older sisl version which is compatible with our current SciPy version, 1.4.1. |
Our build system doesn't currently support Fortran (#648 (comment)), so you won't be able to build any package that contains Fortran code. Sorry about that. We'll be working on the Fortran issue in a few months time. |
One last question, as I've read in the SISL documentation, it can be compiled without Fortran using pip. Is this a possibility, or is it simply not feasible due to its Fortran code?" |
It looks like we might have a way forward with Fortran and SciPy. Please subscribe to #648, and I'll post an update there in a few days.
Where does it say that? |
Link: https://zerothi.github.io/sisl/installation.html |
[From #1185 by @loreoregi] I'm encountering an issue where CMake cannot find the Python_NumPy_INCLUDE_DIRS when attempting to build the sisl package for Chaquopy with Python 3.9. This issue prevents the build process from completing successfully. I am following the steps provided in the Chaquopy server/pypi README. I'm using Chaquopy 15.1.0, sisl 0.14.3, and CMake 3.22.1.
I have tried manually setting the Python_NumPy_INCLUDE_DIRS in build-wheel.py and CMakeLists.txt. verifying the existence of NumPy include directories, ensuring paths are correctly set in the toolchain file, and I still get the same error. I also tried running CMake commands directly, which succeed but differ from the behavior of build-wheel.py. I would appreciate any guidance or suggestions on how to resolve this issue. Thank you! |
Sorry, I don't remember the details of how CMake finds NumPy include directories. You may find some ideas by searching the existing recipes for packages whose meta.yaml files mention both CMake and NumPy, though this may be an area which has changed over the last few years. |
Hi everyone!
I am developing an application with android studio, and I am having so many problems when I try to integrate the python library "sisl" into my project using Chaquopy.
Is it possible? If not, do you know another way to do it?
I really appreciate any help you can provide.
The text was updated successfully, but these errors were encountered: