From b2c09f6b157896afb7ed2415a92128eb5b799262 Mon Sep 17 00:00:00 2001 From: ahkui <14049597+ahkui@users.noreply.github.com> Date: Mon, 7 May 2018 15:03:52 +0800 Subject: [PATCH] Update Dockerfile fix pip v10 error Traceback (most recent call last): File "/usr/bin/pip", line 9, in from pip import main ImportError: cannot import name main --- workspace/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 66374198..bba085b8 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -641,8 +641,8 @@ ARG INSTALL_PYTHON=false RUN if [ ${INSTALL_PYTHON} = true ]; then \ apt-get -y install python python-pip python-dev build-essential \ - && pip install --upgrade pip \ - && pip install --upgrade virtualenv \ + && pythom -m pip install --upgrade pip \ + && pythom -m pip install --upgrade virtualenv \ ;fi ###########################################################################