File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,11 @@ RUN for PYTHON_VERSION in 3.9.23 3.10.18 3.11.13 3.12.11 3.13.5; do \
4949 rm -rf Python-${PYTHON_VERSION}* && \
5050 # Install pip using the instructions below
5151 # https://pip.pypa.io/en/stable/installation/#ensurepip
52- python${PYTHON_VERSION} -m ensurepip --upgrade && \
5352 PYTHON_VERSION_TRIMMED=$(echo ${PYTHON_VERSION} | cut -d . -f -2) && \
5453 # Create an alias for python${PYTHON_VERSION} so that it points to python${PYTHON_VERSION_TRIMMED}
55- alias python${PYTHON_VERSION}=python${PYTHON_VERSION_TRIMMED} \
54+ # to resolve error `python3.13.5: command not found` while `python3.13` works
55+ alias python${PYTHON_VERSION}=python${PYTHON_VERSION_TRIMMED} && \
56+ python${PYTHON_VERSION} -m ensurepip --upgrade \
5657 ; done
5758
5859# Test Pip
You can’t perform that action at this time.
0 commit comments