-
Notifications
You must be signed in to change notification settings - Fork 28
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
Call [...] to unimplemented function ucrtbase.dll.crealf, aborting #65
Comments
This comment has been minimized.
This comment has been minimized.
crealf is only a stub in wine, which means it's not implemented. Every code using that function WILL crash. scipy uses that function a lot, so it's only natural it crashes under wine. I don't consider this container anything that should be able to run every piece of Python software. It's mainly intended as a tool for CI builds (for example with PyInstaller). You might want to raise this issue with either wine or scipy to "fix" this. In both cases, providing a patch would probably provide the fastest way to getting this fixed. Looking at what the function is supposed to do the implementation might be quite simple... |
On a more positive note: Thanks for trying my container in new and interesting ways 😆 - A shame it didn't work out for you. Thinking more about it I would have expected a sensible compiler to inline such simple functions... But MSVC apparently is no sensible compiler and doesn't really "support" complex numbers anyways (https://learn.microsoft.com/en-us/cpp/c-runtime-library/complex-math-support?view=msvc-170, example: https://godbolt.org/z/1WPq3K9hr) |
PS: It seems Wine is slowly adding those functions: https://gitlab.winehq.org/wine/wine/-/merge_requests/7225 |
Hey!
I'm trying to use scipy library in pywine. My host system is Ubuntu 24.04.
I'm doing the following steps:
Then I'm just importing scipy and getting a huge error:
Do you know how to fix it and if it's possible to fix it?
The text was updated successfully, but these errors were encountered: