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
This commit is contained in:
Vladimir Kozhukalov 2023-06-15 06:19:43 +03:00
parent beea0d5811
commit 3d8935a536

View File

@ -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
}