Installing Python Modules

Asked 1 years ago, Updated 1 years ago, 261 views

I'm studying how to access Android with Python. I need to add a module as below. I don't know what name to look for. I have a question.

from kivy.app import App -> pip install kivy 로 해결

from jnius import autoclass, cast -> pip install pyjnius 로 해결

from android.permissions import request_permissions, Permission -> ??????

from android.storage import primary_external_storage_path -> ???

request_permissions([Permission.CAMERA, Permission.READ_EXTERNAL_STORAGE])


2023-01-12 05:28

1 Answers

python android permission module로 검색해 보았는데 python-for-android 모듈인 것 같네요.

It seems that it can be installed with pipe install python-for-android.


2023-01-12 11:56

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.