-
Notifications
You must be signed in to change notification settings - Fork 31
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
Segmentation fault when importing amici on Mac #2486
Comments
Hi @anamariemartinez, sorry to hear amici isn't working on your system. Could you please post the complete output of |
Hi, thank you so much for getting back to me. Here is the output. I tried to downgrade numpy to version 1.26, but the issue was still occurring. Details
Thanks again! |
Thanks. Unfortunately, this did not rebuild amici ( |
Here is a file with the output of running, When I run,
|
Thanks, unfortunately this still doesn't include the relevant output. When redirecting the output to file, please make sure that stderr is also included. E.g. via |
Hi, sorry for the delayed reply. Here is that file |
Thanks, this is what I needed. I didn't see anything suspicious in there. Could you show the output of On other Mac/ARM computers amici was working fine so far. Without any debugger output, this will be hard to pinpoint, I'm afraid. Unfortunately, I am not familiar with available debuggers on Mac. |
While I don't really think this is the issue, you could retry it with a more recent version of swig (https://anaconda.org/conda-forge/swig instead of https://anaconda.org/anaconda/swig) and see if that changes anything. |
Additionally, to exclude any issues related to the hdf5 dependency you can try |
https://github.com/AMICI-dev/AMICI/releases/tag/v0.27.0 has some improvements with regards to potentially interfering systems packages. It might be worth retrying with the most recent version. Closing this for now. |
Hi,
I tried to install AMICI in a conda environment on my Mac. I followed the installation instructions, and I installed all of the dependencies. When I tried to import amici in a Jupyter notebook it instantly killed the kernel, and when I tried to import it from the terminal, it gives me a segmentation fault. My advisor tried to install and import AMICI on his Mac (same OS), and he also got the segmentation fault.
To Reproduce
python
import amici
zsh: segmentation fault python
pip install amici --force-reinstall
AMICI version and system environment
Thanks!
The text was updated successfully, but these errors were encountered: