-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Apple Silicon: cannot import name '_ccallback_c' #259
Comments
Something is indeed going wrong there, but that particular build of scipy 1.11.3 is over a month old and we've had no bug reports about it being broken. So it most likely is related to something else installed in the build env. |
Can you please try with |
What's confusing me is that our main project CI running Apple silicon macos runners on Gitlab SaaS seem ok. All the build and tests pass for making a wheel which is done with conda-forge packages: https://gitlab.com/ifosim/finesse/finesse3/-/jobs/5577026130
which are the same versions I mention in the first post. |
Limiting it to less than Cython 3 still results in the same error: |
Which also has now started using Scipy 1.11.4-py310h2b794db_0. This isn't feeling like a scipy package issue to me... |
I noticed the numpy version was different, our CI was running 1.26, but fixing that to 1.22.4 works fine with this same scipy package. |
Solution to issue cannot be found in the documentation.
Issue
I'm having some issues with the Apple silicon scipy package for my conda-forge feedstock CI and I am struggling to see how to fix it. All the other OSes run fine, including MacOS Intel. Some maybe relevant versions:
It fails for Python 3.9, 3.10, and 3.11.
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=827833&view=logs&j=15f8dc28-9f6f-5e3a-5b3c-2b169071e5be&t=63fa899e-c160-5185-75c4-c5fd30c90374&l=235
The
ImportError: cannot import name '_ccallback_c'
looking around online seems to be from an improperly installed package, but considering the CI is installing all of this from scratch I don't see how that applies here.The conda forge package I'm trying to build is a more complicated one using Cython. I tried lower versions of scipy, 1.11 and 1.10 and Cython 0.29 and 3 but I get the same error.
Any tips on things to try/check would be appreciated!
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: