From 3d8935a536faaa87e084e7783ed53f4660a3a1f8 Mon Sep 17 00:00:00 2001 From: Vladimir Kozhukalov Date: Thu, 15 Jun 2023 06:19:43 +0300 Subject: [PATCH] Use --ignore-installed while install pip packages for dev env story: 2010785 task: 48210 There were a bunch of stories like this 2010785 and in most cases users face the conflict of pip and apt package management systems. We can either use --ignore-installed or use python virtualenv. The second option does not contradict to the first one. Change-Id: I345e887b3f35f1d1d6c86cc40a29ff0b1920a1f1 --- tools/gate/devel/start.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/gate/devel/start.sh b/tools/gate/devel/start.sh index 7dbddf5a0..b0a7661dc 100755 --- a/tools/gate/devel/start.sh +++ b/tools/gate/devel/start.sh @@ -52,12 +52,12 @@ function ansible_install { jq fi - sudo -H -E pip3 install --upgrade pip - sudo -H -E pip3 install --upgrade setuptools - sudo -H -E pip3 install --upgrade cmd2 - sudo -H -E pip3 install --upgrade pyopenssl - sudo -H -E pip3 install --upgrade ansible - sudo -H -E pip3 install --upgrade \ + sudo -H -E pip3 install --ignore-installed --upgrade pip + sudo -H -E pip3 install --ignore-installed --upgrade setuptools + sudo -H -E pip3 install --ignore-installed --upgrade cmd2 + sudo -H -E pip3 install --ignore-installed --upgrade pyopenssl + sudo -H -E pip3 install --ignore-installed --upgrade ansible + sudo -H -E pip3 install --ignore-installed --upgrade \ ara==0.16.5 \ yq }