Skip to content

Python3 package requirements missing #147

@melihmete

Description

@melihmete

Hi ARM team,

I've successfully built layer_sample example to give it a try on Android but currently hitting issues regarding python3 packages.
python3 and python command is giving me different errors.

OS: Windows 11
Target Platform: Android
Device: Pixel 8 Pro

PS D:\Work\libGPULayers> python3 lgl_android_install.py --layer layer_example   
Traceback (most recent call last):
  File "D:\Work\libGPULayers\lgl_android_install.py", line 137, in <module>
    from lglpy.comms import service_gpu_timeline
  File "D:\Work\libGPULayers\lglpy\comms\service_gpu_timeline.py", line 35, in <module>
    from lglpy.timeline.protos.layer_driver import timeline_pb2
  File "D:\Work\libGPULayers\lglpy\timeline\protos\layer_driver\timeline_pb2.py", line 7, in <module>
    from google.protobuf import descriptor as _descriptor
ModuleNotFoundError: No module named 'google'
PS D:\Work\libGPULayers> python lgl_android_install.py --layer layer_example
Traceback (most recent call last):
  File "lgl_android_install.py", line 133, in <module>
    from lglpy.android.adb import ADBConnect
  File "D:\Work\libGPULayers\lglpy\android\adb.py", line 37, in <module>
    class ADBConnect:
  File "D:\Work\libGPULayers\lglpy\android\adb.py", line 99, in ADBConnect
    def get_base_command(self, args: Iterable[str]) -> list[str]:
TypeError: 'ABCMeta' object is not subscriptable

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