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

virtualenv-2.7 hardcoded #22

Closed
dusty-phillips opened this issue Aug 18, 2013 · 2 comments
Closed

virtualenv-2.7 hardcoded #22

dusty-phillips opened this issue Aug 18, 2013 · 2 comments

Comments

@dusty-phillips
Copy link

_ensure_virtualenv is assuming that the command virtualenv-2.7 is available, however on my platform it's just called virtualenv. Possibly this should be configurable somewhere, although assuming that the virtualenv command is available should also be safe, since a virtualenv-3.x binary should still be able to create python2.7 capable environments.

Similarly, hardcoding python2.7 is probably fragile in this method, as it may variously be named python, python2, or hippopotamus on different machines.

@dusty-phillips
Copy link
Author

I'm getting a similar problem under Fedora now (when I reported this, I was using Arch Linux). The problem now is that viltualenv is not creating a pip-2.7. There is a pip and a pip2.7, but no pip-2.7 in the venv. I cd .buildozer/venv/bin and ln -s pip2.7 pip-2.7 and buildozer works, but this should obviously be automatic.

@inclement
Copy link
Member

This was a python-for-android bug, resolved by kivy/python-for-android@5a5e8ea. It adds checking for multiple sensible name possibilities for both pip and virtualenv.

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