Skip to content
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

Python Android third-party packages #79

Open
bilalcndn opened this issue Mar 1, 2024 · 1 comment
Open

Python Android third-party packages #79

bilalcndn opened this issue Mar 1, 2024 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@bilalcndn
Copy link

Hi,

I'm trying to develop an FMX application for Android using Python in Delphi. I've been following your demo application named 'Mobile Controls' as an example. Currently, I can write Python code into a memo and get output from another memo. However, I haven't been able to install any third-party packages. I've reviewed your videos and documents but couldn't find a solution. For instance, I want to use the 'numpy' library in my application. How can I add this? I would greatly appreciate your assistance.

Note: I'm using Delphi 12.

Best regards.

@lmbelo lmbelo self-assigned this Aug 20, 2024
@lmbelo
Copy link
Member

lmbelo commented Aug 20, 2024

Hello @bilalcndn, thanks for reaching out.

Packages like NumPY are actually extension modules, so they are written in C. To make them available on Android, you need to compile it by yourself, targeting the Python for Android distribution used by your app.

@lmbelo lmbelo added the help wanted Extra attention is needed label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants