buildozer error "ImportError: No module named site"

143 views
Skip to first unread message

ZenCODE

unread,
Aug 6, 2017, 4:32:35 AM8/6/17
to Kivy users support
I see there is an old ticket for this, but the suggested fix does not work for me either. It's still an open issue, but I thought to bring it up here to refresh the conversation. It's a blocker on the VM I'm trying to create.

    https://github.com/kivy/buildozer/issues/390

I'm using the latest checkout of buildozer (tried 0.33 tag, built, same error) on ubuntu 16.04 with

    requirements = python2,sqlite3,kivy==1.10.0

in the buildozer.spec.  The complete output is here:

    https://gist.github.com/Zen-CODE/839c0b67face5abbb4280370cedf9024

six is installed and works in a standard python console. I've tried the suggested setting for the PYTHONHOME environment variable (e.g. export PYTHONHOME="/usr/bin/python" amongst many others) but nothing seem to work. Anyone have any ideas?

Samuel Focht

unread,
Aug 11, 2017, 3:11:59 AM8/11/17
to Kivy users support
I have read a lot of your posts helping people with programming questions.  I'm hoping you can make time for mine.  I'm a beginner and I'm building a project for my kids school.  


here is the link to all the code. I know it is rough.  What I'm stuck on is  from the search screen to the assignment screen.  I'm hoping to have the teacher search the db to reduce errors in searching for students name and all.

Then create a list for the kivy file on the assignment screen then write that to the db.

Thanks in advance,
Sam

ZenCODE

unread,
Aug 13, 2017, 2:04:10 AM8/13/17
to Kivy users support
Okay, after much experimenting, it seems this was caused by the build being done on a shared folder mounted through VBox. It seems some of the symlinking fails in the mounted folder and leads to this issue.

ZenCODE

unread,
Aug 13, 2017, 7:20:14 AM8/13/17
to Kivy users support
@Samuel Focht. ? Seems unrelated? Please make a new post if you have issues/questions not related to this post. Thanks :-)
Reply all
Reply to author
Forward
0 new messages