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

Buildozer setup.py fails with Module ImportError #140

Closed
prometx opened this issue Sep 1, 2014 · 7 comments
Closed

Buildozer setup.py fails with Module ImportError #140

prometx opened this issue Sep 1, 2014 · 7 comments

Comments

@prometx
Copy link

prometx commented Sep 1, 2014

Hi,

trying to setup Buildozer like so:

"# latest dev
git clone git://github.com/kivy/buildozer
cd buildozer
sudo python2.7 setup.py install"

On install attempt Python reports:

"Traceback (most recent call last):
File "setup.py", line 5, in
from setuptools import setup
ImportError: No module named setuptools"

This is on Ubuntu 14.04, 64bit

Is this module not "packaged" with Buildozer? Please let me know what you think when you have a moment.

Thanks!

@inclement
Copy link
Member

This error means setuptools is (apparently) not available in the python installation you are using. You should install it - see here, though it's probably in your distro's package manager assuming that's how you installed python.

This isn't anything to do with buildozer though, setuptools is a separate module - it's worth having anyway because it's very frequently useful for installing stuff.

@prometx
Copy link
Author

prometx commented Sep 1, 2014

Inclement, solved. thanks!

@minglethepringle
Copy link

@prometx How did you solve it? I removed setuptools and installed it again via wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python. It still gives the same error!

@minglethepringle
Copy link

@inclement I followed those exact instructions on the link that you put. I can confirm setuptools is there (I did sudo easy_install --help and it worked), but buildozer is still giving the same error.

@minglethepringle
Copy link

minglethepringle commented Dec 31, 2016

@inclement Edit: If I go to the Python shell and type from setuptools import setup it's successful! Now I'm confused why setuptools is fine on Python but not Buildozer.

Edit #2: Also, i'm not installing Buildozer. I already got that installed. I'm just trying to build my project with buildozer -v android debug

@inclement
Copy link
Member

@iiDatKat Your problem is unrelated to this old issue. Please open a new issue with the full details and log of the failed build.

@minglethepringle
Copy link

minglethepringle commented Jan 1, 2017

@inclement Yep, understood. I see you're helping me on StackOverflow (@mingleli), so I'll just do it on there. However, I'll post a new issue anyway.

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

3 participants