-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
Missing DLL with SciPy 1.9.2 #24669
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
Comments
Link /w Scipy bug conterpart (IDNK which project is this bug related to) scipy/scipy#17232 |
It should be certainly fixed by #24631 |
@Micky774 @jeremiedbb Could you try to see if we solve the problem since you have a Windows machine ;) Be aware that you need to build scikit-learn from |
We will also need the backport scipy/scipy#17224 for a full fix. This will be available in scipy 1.9.3 that should be released soonish (see scipy/scipy#17239). But we can already prepare a backport of #24631 in the scikit-learn |
Since we cannot backport scipy/scipy#17224 in scikit-learn we should blacklist SciPy 1.9.2. |
That issue should be present in earlier releases as well. The original bug report is scipy/scipy#16527, and says it happens with 1.8.1 and 1.9.0rc1. So blacklisting 1.9.2 doesn't help. |
Thanks, @rgommers. This is weird that we did not trigger the bug in the different CIs in the past. |
For completeness: the segfault (not related to the missing DLL) with scipy 1.9.2 appeared with python3.10 on Windows (see #24612). With python3.11 Windows, linux and Mac all failed. So even if backporting scipy/scipy#16528 is a solution, the segfault is not only related to scipy: the OS and python version had some effect. |
That will all be due to the version of NumPy that the SciPy wheels for that OS/Python version were built with - because the root cause is |
So the issue is scipy 1.9.2 being built with numpy 1.22.3 with Python10 on Windows (see https://github.com/scipy/scipy/actions/runs/3211264776/jobs/5249316864#step:6:434) as there are no constraints on the platform from https://github.com/scipy/oldest-supported-numpy/blob/main/setup.cfg? |
That would be a serious bug - and if true, is a problem for For SciPy we don't use |
Hi @milos-korenciak , if by chance you have some time to check the wheels available here. With the availability of scipy 1.9.3 and scikit-learn shipping the missing dll, the issue should be gone. |
With the 1.1.3 release the wheel for Windows contains the missing library. I'm closing this one. |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
scikit-learn crashes /w current scipy==1.9.2 on Win (AMD64). This combination causes fail of joblib subprocess using scikit-learn. (Tested in Windows containers / docker images python:3.9.13 AND python:3.9.10 .)
Not replicated on Linux and MacOS even with the same settings (vanilla official Python 3.9 and 3.10).
Previous bugfix scipy version works fine (1.9.1).
Steps/Code to Reproduce
In Windows (only) install at first these packages:
Then run this code (e.g. interactively):
The last line (above) fails.
To fix, just do (e.g. below) and rerun.
Expected Results
... nothing # if the minimum example above runs OK, nothing is deisplayed.
Actual Results
Versions
The text was updated successfully, but these errors were encountered: