Fix issue with pip2 command and update pip3 for mongodb

This patch will fix following issue logs:

   2019-09-02 15:11:13.121 | dib-run-parts Running /tmp/in_target.d/install.d/25-trove-mongo-dep
   2019-09-02 15:11:13.124 | + pip2 install pymongo
   2019-09-02 15:11:13.125 | /tmp/in_target.d/install.d/25-trove-mongo-dep: line 9: pip2: command not found

And move on pip3.

Change-Id: I7cf16820091a0f977b41e3222abb866a9ae66166
This commit is contained in:
Nguyen Van Trung 2019-09-02 22:27:58 +07:00
parent b43248be79
commit 38efc97251
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ set -o xtrace
[ -n "${RELEASE}" ] || die "RELEASE must be set to either trusty or xenial"
apt-get --allow-unauthenticated -y install software-properties-common
apt-get --allow-unauthenticated -y install software-properties-common python3-pip
get_key_robust EA312927

View File

@ -6,4 +6,4 @@
set -e
set -o xtrace
pip2 install pymongo>=3.0.2,!=3.1
pip3 install pymongo>=3.0.2,!=3.1

View File

@ -6,4 +6,4 @@
set -e
set -o xtrace
pip2 install pymongo>=3.0.2,!=3.1
pip3 install pymongo>=3.0.2,!=3.1