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

Make pip call more robust, for mixed Py2 and Py3 environments. #22

Merged
merged 3 commits into from
Sep 17, 2021

Conversation

bmjoan
Copy link

@bmjoan bmjoan commented Sep 8, 2018

Instead of harcoded pip executable name, attempt to invoke by its library module and keep it various python versions agnostic.

It is quite common to have multiple python versions installed in the system (Python 2.x, Python 3.x, PyPy, …) which also have different names for pip installer to prevent their mutual conflict, like pip2, pip3, pip-pypy etc. This patch fixes invalid behavior, when improper hardcoded name being used.

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

Successfully merging this pull request may close these issues.

None yet

2 participants