[one-cmds] fix setuptools version for one-prepare-venv (#4045)
authorSaeHie Park <saehie.park@gmail.com>
Tue, 1 Sep 2020 05:57:00 +0000 (14:57 +0900)
committerGitHub <noreply@github.com>
Tue, 1 Sep 2020 05:57:00 +0000 (14:57 +0900)
This will fix recent setuptools package problem for one-prepare-venv

ONE-DCO-1.0-Signed-off-by: SaeHie Park <saehie.park@gmail.com>

compiler/one-cmds/one-prepare-venv

index 0a53bd3..0b11e7f 100644 (file)
@@ -46,7 +46,9 @@ python3 -m venv "${DRIVER_PATH}/venv"
 # Install tensorflow
 source "${VENV_ACTIVATE}"
 
+# TODO remove version number of 'pip==20.2.1 setuptools==49.3.0'
+# NOTE adding version is for temporary hotfix of setuptools 50.x.y version
 python -m pip --default-timeout=1000 --trusted-host pypi.org --trusted-host files.pythonhost.org \
-  install -U pip setuptools
+  install -U pip==20.2.1 setuptools==49.3.0
 python -m pip --default-timeout=1000 --trusted-host pypi.org --trusted-host files.pythonhost.org \
   install tensorflow-cpu==2.3.0