Python Development on Android Device

I am trying to import Android Permissions to my python environment on my android device. I am using the following code:

import android
from android.permissions import Permission, request_permissions

However, when I run this code in jupyter notebook I am getting the following error message:

NULL result without error in PyObject_Call

How Can I overcome this problem?

Welcome to the Python Discourse!

When adding code or output to your post, please make sure you enclose it in code fencing so it is formatted correctly for others to read and copy, as I’ve done for you this time. You can do so with the </> button in the toolbar, or via typing triple backticks above and below the code in question, optionally with the language name (e.g. python) for syntax highlighting, like this: