Currently pip is used to install the python packages on linux by travis,
but pip3 should be used since pip is a symlink of pip2.

Fixes: 1ca0323e7c29 ("Require Python 3 and remove support for Python 2.")
Cc: b...@ovn.org
Signed-off-by: Timothy Redaelli <tredae...@redhat.com>
---
 .travis.yml              | 1 +
 .travis/linux-prepare.sh | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 2dc4d436b..abd2a9117 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,6 +21,7 @@ addons:
       - libnuma-dev
       - libpcap-dev
       - python3-openssl
+      - python3-pip
       - python3-sphinx
       - libelf-dev
       - selinux-policy-dev
diff --git a/.travis/linux-prepare.sh b/.travis/linux-prepare.sh
index 2e57945f5..13390afc0 100755
--- a/.travis/linux-prepare.sh
+++ b/.travis/linux-prepare.sh
@@ -12,8 +12,8 @@ cd sparse
 make -j4 HAVE_LLVM= install
 cd ..
 
-pip install --disable-pip-version-check --user six flake8 hacking
-pip install --user --upgrade docutils
+pip3 install --disable-pip-version-check --user six flake8 hacking
+pip3 install --user --upgrade docutils
 
 if [ "$M32" ]; then
     # Installing 32-bit libraries.
-- 
2.23.0

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to