Numpy.NET icon indicating copy to clipboard operation
Numpy.NET copied to clipboard

Can this library be used on mobile ?

Open 493226363 opened this issue 1 year ago • 2 comments

When I used it on mobile, it caused the process to stall. Here's the part of the code that got stuck: np.arange(1); var PyThread = PythonEngine.BeginAllowThreads(); This leaves me unsure of the cause. I noticed that Numpy.dll was shipped for the netstandard2.0 platform. Should this be a cross-platform library, or am I using it incorrectly?

493226363 avatar Dec 03 '24 12:12 493226363

Numpy.NET is shipped for windows by default. https://github.com/SciSharp/Numpy.NET?tab=readme-ov-file#versions-and-compatibility

You could in theory create a linux version by compiling Numpy.Bare from source and using a numpy wheel that was compiled specifically for the mobile platform you are targeting.

henon avatar Dec 03 '24 14:12 henon

Numpy.NET is shipped for windows by default. https://github.com/SciSharp/Numpy.NET?tab=readme-ov-file#versions-and-compatibility

You could in theory create a linux version by compiling Numpy.Bare from source and using a numpy wheel that was compiled specifically for the mobile platform you are targeting.

Thank you for your reply. I will try to compile the source code to see if it can be used on the mobile terminal.

493226363 avatar Dec 04 '24 02:12 493226363