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:
parent
beea0d5811
commit
3d8935a536
@ -52,12 +52,12 @@ function ansible_install {
|
|||||||
jq
|
jq
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo -H -E pip3 install --upgrade pip
|
sudo -H -E pip3 install --ignore-installed --upgrade pip
|
||||||
sudo -H -E pip3 install --upgrade setuptools
|
sudo -H -E pip3 install --ignore-installed --upgrade setuptools
|
||||||
sudo -H -E pip3 install --upgrade cmd2
|
sudo -H -E pip3 install --ignore-installed --upgrade cmd2
|
||||||
sudo -H -E pip3 install --upgrade pyopenssl
|
sudo -H -E pip3 install --ignore-installed --upgrade pyopenssl
|
||||||
sudo -H -E pip3 install --upgrade ansible
|
sudo -H -E pip3 install --ignore-installed --upgrade ansible
|
||||||
sudo -H -E pip3 install --upgrade \
|
sudo -H -E pip3 install --ignore-installed --upgrade \
|
||||||
ara==0.16.5 \
|
ara==0.16.5 \
|
||||||
yq
|
yq
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user