ModuleNotFoundError: No Google modules

801 views
Skip to first unread message

Dmitry

unread,
Dec 8, 2021, 1:16:42 AM12/8/21
to Kivy users support

Robert

unread,
Dec 8, 2021, 12:45:36 PM12/8/21
to Kivy users support

I notice the requirements specify KivyMD two different ways, not clear what the result of that will be. There are also some other entries that may be unexpected duplicates, again not clear what the result of that will be.

Dmitry

unread,
Dec 8, 2021, 2:29:45 PM12/8/21
to Kivy users support
Hello, Robert! I noticed some examples:
https://groups.google.com/g/kivy-users/c/c6biPoImT1w (what about some other modules?)
https://stackoverflow.com/questions/64452170/kivy-buildozer-firestore-error-modulenotfounderror-no-module-named-google-cl/70265284#70265284 (how can I do that with Google Colab?)
https://stackoverflow.com/questions/62764550/how-to-correctly-implement-the-google-api-on-a-kivy-application-compiling-with-b/70265412#70265412 (not working)

Guess that more modules can fix "no module" error, also I try with few modules.

Seems, like Google modules launch from some folder. But I don't know how to specify it in buildozer file.


четверг, 9 декабря 2021 г. в 00:45:36 UTC+7, Robert:

Robert

unread,
Dec 8, 2021, 3:20:04 PM12/8/21
to Kivy users support
I don't think more is better, the risk is it may be generating extra dependencies.
For me it just makes it harder to see what is going on.
Most of those modules I know nothing about, but things like both protobuf and protobuf_cpp seem strange.

This case is way too big for me to guess what is happening. But I'm pretty sure that grpcio will be an issue.

I thought that oauth2client was the solution for oauth2, but looking at those requirements it appears not.

The way to do this is to start with just the imports in your Python code, look at their requirements.txt , recur.
Some don't have requirements.txt , try setup.py
Before you add each one check if it is pure Python, if not look for a recipe (name match may not be exact).
If you don't find a recipe you have a problem, best to find that early.

Dmitry

unread,
Dec 9, 2021, 8:28:40 AM12/9/21
to Kivy users support
Hello, thanks

четверг, 9 декабря 2021 г. в 03:20:04 UTC+7, Robert:
Reply all
Reply to author
Forward
0 new messages