Skip to content

Commit b2c09f6

Browse files
authored
Update Dockerfile
fix pip v10 error Traceback (most recent call last): File "/usr/bin/pip", line 9, in <module> from pip import main ImportError: cannot import name main
1 parent 0c41fce commit b2c09f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

workspace/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,8 +641,8 @@ ARG INSTALL_PYTHON=false
641641

642642
RUN if [ ${INSTALL_PYTHON} = true ]; then \
643643
apt-get -y install python python-pip python-dev build-essential \
644-
&& pip install --upgrade pip \
645-
&& pip install --upgrade virtualenv \
644+
&& pythom -m pip install --upgrade pip \
645+
&& pythom -m pip install --upgrade virtualenv \
646646
;fi
647647

648648
###########################################################################

0 commit comments

Comments
 (0)