-
Notifications
You must be signed in to change notification settings - Fork 251
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
MacOS: Numpy RuntimeError: Polyfit may be poorly conditioned #402
Comments
In previous pipeline did you try to build wheel for pypy? Because wheels for cpython are build correctly. |
I'd argue you don't really want to be building a numpy as part of your build - a wheel should be sufficient. Looks like numpy don't publish many pypy wheels yet. If pypy support isn't important to you, you can disable it using |
I think you might need to report this to the PyPy project: https://foss.heptapod.net/pypy/pypy |
Wow, thanks all for the quick responses! I didn't realize it might be PyPy-related; PyPy support isn't important to me so I'll try turning that off.
Yes, in 0.1.2 I successfully built for PyPy on MacOS, see
I made an issue here. |
After removing PyPy from the build list, MacOS wheels build fine. (Unsurprisingly building the wheels is considerably faster because I'm no longer building Numpy). I'll close this because it sounds like a PyPy issue. |
For future reference: by default NumPy may be using Accelerate to provide BLAS fun tions. This is broken and Apple won’t fix it. The solution is to use OpenBLAS instead when building NumPy. It would be better if NumPy would just supply a binary wheel, this may happen soon. |
The actual error mentions this:
|
Thanks. I saw that line but I didn't know what it meant. |
Two things to be done:
|
related issue: |
Hello!
I'm new to wheels and not entirely sure if this is
cibuildwheel
's fault. I'm using Github Actions to build wheels for my project, and while wheels originally built successfully for Mac, Windows, and Linux, they're now failing for Mac.The project is written in Cython and also depends on Numpy; therefore both need to exist at the time wheels are built. I have
python -m pip install numpy Cython
in theCIBW_BEFORE_BUILD
environment variable. Full build configuration here.The main error of interest in the build log is:
Which leads me to wonder if Numpy is being built incorrectly.
I didn't see any existing issues here that looked to be related. Is this something you've seen before?
Full build log (not sure if the full logs are visible)
Longer traceback:
The text was updated successfully, but these errors were encountered: