Skip to content

Installing DelphiFMX for Python under termux in Android #113

@dfkettle

Description

@dfkettle

What is the correct way to install DelphiFMX for Python under termux on an Android device? I followed some instructions I found and they seemed to work, but when I tried to run the 'Simplest.py' example, I got the following error:

Traceback (most recent call last):
  File "/data/data/com.termux/files/home/Python/Delphi/Simplest.py", line 2, in <module>
    from delphifmx import *
  File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/delphifmx/__init__.py", line 96, in <module>
    package = new_import()
              ^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/delphifmx/__init__.py", line 81, in new_import
    lib_path = find_extension_module()
               ^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/delphifmx/__init__.py", line 54, in find_extension_module
    raise ValueError("Unsupported platform.")
ValueError: Unsupported platform.

I know I can build Android apps using Delphi on Windows, but I'd like to be able to build apps directly on my Android tablet, using Python and DelphiFMX for Python.

Thanks.

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