I/python: ModuleNotFoundError: No module named 'google.protobuf'

620 views
Skip to first unread message

mkfmtr

unread,
Sep 7, 2022, 10:37:33 AM9/7/22
to Kivy users support
I'm seeing " I/python:  ModuleNotFoundError: No module named 'google.protobuf' " as I run my app in Nox connected to Android Studio and I can't get rid of it. I tried adding "protobuf" and "google.protobuf" to the buildozer.spec requirements but no difference.

Current requirements:

requirements = python3,kivy,google.protobuf,google-auth,gcloud,rsa,pyasn1,pyasn1_modules,kivymd==0.104.2,pillow,pyrebase4,openpyxl,sqlite3,et_xmlfile,requests,urllib3,chardet,charset_normalizer,idna,oauth2client,httplib2,pyparsing

Robert

unread,
Sep 7, 2022, 1:03:11 PM9/7/22
to Kivy users support

Also Pyrebase4 dependencies are here https://github.com/Android-for-Python/cloud_storage_examples/tree/main/pyrebase4_example#buildozer

And I see you are doing something with google-auth, if it is Firebase-admin (remember it is a security risk) the dependencies are here https://github.com/Android-for-Python/cloud_storage_examples/tree/main/firebase_admin_example#buildozer
Reply all
Reply to author
Forward
0 new messages