Skip to content

Commit 774134e

Browse files
committed
Merge branch 'aboellinger-aboellinger-patch-1'
2 parents ece1d9d + b9cd152 commit 774134e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/rez/pip.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ def find_pip_from_context(python_version, pip_version=None):
202202

203203
py_exe = find_python_in_context(context)
204204

205+
if not py_exe:
206+
return None, None, context
207+
205208
proc = context.execute_command(
206209
# -E and -s are used to isolate the environment as much as possible.
207210
# See python --help for more details. We absolutely don't want to get

0 commit comments

Comments
 (0)