Skip to content

Commit 0d1ce7b

Browse files
fpetrini15mc-nv
andauthored
Commit suggestion
Co-authored-by: Misha Chornyi <[email protected]>
1 parent 2e8d033 commit 0d1ce7b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1558,8 +1558,7 @@ def change_default_python_version_rhel(version):
15581558
# RHEL image has several python versions. It's important
15591559
# to set the correct version, otherwise, packages that are
15601560
# pip installed will not be found during testing.
1561-
ENV PYVER {}
1562-
ENV PYTHONPATH /opt/python/v
1561+
ENV PYVER={} PYTHONPATH=/opt/python/v
15631562
RUN ln -sf ${{PYENV_ROOT}}/versions/${{PYVER}}* ${{PYTHONPATH}}
15641563
ENV PYBIN ${{PYTHONPATH}}/bin
15651564
ENV PYTHON_BIN_PATH ${{PYBIN}}/python${{PYVER}}

0 commit comments

Comments
 (0)