Closed vkuznetsovgn closed 3 weeks ago
hi,
there was already a similar problem.
most likely the problem is in wine and you need to post a bug in their tracker.
You can also try changing the Python version or Scipy version to an older one.
I used the method above to get workaround in some my projects.
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 :laughing: - 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)
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?