Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named sqlite3 #56

Closed
AdrienLemaire opened this issue Oct 20, 2013 · 2 comments
Closed

No module named sqlite3 #56

AdrienLemaire opened this issue Oct 20, 2013 · 2 comments

Comments

@AdrienLemaire
Copy link

Hello,

When I try to deploy my application to my smartphone, I can see it start and stop immediately (cf logcat traceback ).

I followed this doc to remove occurences of sqlite3 in the blacklist, and I manually ran ./distribute.sh -m 'sqlite3 kivy' in .buildozer/android/platform/python-for-android/ because I don't see a way to specify the module in the buildozer.spec file (if added to requirements, buildozer will pip install it).
Also note that ./distribute.sh -l return sqlite3, so it should be already available and buildozer shouldn't try to pip install it (also the pip package is pysqlite, not sqlite3, so I wasn't sure which name to write, and tried both without succcess).

I'm on arch linux. Any idea how to fix that sqlite3 issue ?

Thanks in advance !

@inclement
Copy link
Member

It looks like your issue was missed...maybe nobody was sure of the problem. In any case, the correct procedure is to include it in the buildozer 'requirements'...I'm not sure why you had buildozer trying to pip install it, it should use the python-for-android recipe. The name of the recipe is 'sqlite3', so that's the string you'd need to use.

The sqlite3 recipe should also now remove itself from the blacklist automatically, removing the need for the manual fix.

@inclement
Copy link
Member

With no more feedback, and many improvements affecting sqlite since then, I guess this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants