Visitar URL original
Can this library be used on mobile ? · Issue #130 · SciSharp/Numpy.NET · GitHub
Skip to content

Can this library be used on mobile ? #130

Description

@493226363

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?

Activity

  1. henon commented on Dec 3, 2024

    @henon
    Contributor

    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.

  2. 493226363 commented on Dec 4, 2024

    @493226363
    Author

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions