diff --git a/pip b/pip index ec3a4731210..1696fc883e0 100755 --- a/pip +++ b/pip @@ -135,7 +135,9 @@ def main(): out += out_venv err += err_venv - pip = module.get_bin_path('pip', True, ['%s/bin' % env]) + pip = module.get_bin_path('python-pip', False, ['%s/bin' % env]) + if not pip: + pip = module.get_bin_path('pip', True, ['%s/bin' % env]) state = module.params['state'] name = module.params['name']