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 fails at installing platfrom #726

Closed
JonasEc opened this issue Oct 21, 2018 · 9 comments
Closed

buildozer fails at installing platfrom #726

JonasEc opened this issue Oct 21, 2018 · 9 comments

Comments

@JonasEc
Copy link

JonasEc commented Oct 21, 2018

Versions

  • Python: 2.7
  • OS: Linux Ubuntu 18.04
  • Kivy: 1.9.1
  • Cython: 0.29

Description

Running "buildozer android debug deploy run" errors out immediately at

# Install platform
# Run 'git clone -b stable --single-branch https://github.com/kivy/python-for-android.git python-for-android-new-toolchain'
# Cwd [my buildozer folder]
Cloning into 'python-for-android-new-toolchain'...
# Run 'pip install -q --user '
# Cwd None
ERROR: You must give at least one requirement to install (see "pip help install")
# Command failed: pip install -q --user 
@AndreMiras
Copy link
Member

Fixed in #724

@JonasEc
Copy link
Author

JonasEc commented Oct 22, 2018

I used the git zip install from the #724 answer but the exact same error persists.

@AndreMiras
Copy link
Member

That's unexpected. It solves it for me 🤔

pip install --user --upgrade https://github.com/kivy/buildozer/archive/618faa076d81fbdc11a4284c1d7690045422b5f9.zip

@OptimusGREEN
Copy link
Contributor

i did a bulldozer android update straight after the zip install and all is well.

@JonasEc
Copy link
Author

JonasEc commented Oct 23, 2018

Hm, it seems the issue is that the above installs to /root/.local/bin/ rather than the "normal" python space, meaning that it isn't on path and hence I was still calling the previous version. How do I change it to install to default user directory for python?

@AndreMiras
Copy link
Member

No we didn't touch that. pip --user install things in $HOME by design. So yes if you're logged as root it will just install things here...

@OptimusGREEN
Copy link
Contributor

I half lied earlier. Worked on my MacBook but not my iMac. Weird.

@JonasEc
Copy link
Author

JonasEc commented Oct 23, 2018

I installed in the correct folder and purged all traces of previous buildozer builds and the same thing is happening.

@Huyston
Copy link

Huyston commented Dec 20, 2018

First, upgrade buildozer.
And then, if you do
buildozer android debug deploy run
Then you can't accept the question that buildozer asks. For that you should run
buildozer -v android debug deploy run
With the verbose tag. I think this shouldn't be the case. Because the origin of the error is obscured from the user.

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

4 participants