pip3 command is replaced with python3 -m pip
@@ -219,8 +219,8 @@ if [[ $YUM_PLATFORM = true ]]; then
# To avoid to stop the execution for any internal error of scl_source
set +e
source scl_source enable rh-python36
- pip3 install --upgrade pip
- pip3 install numpy
+ python3 -m pip install --upgrade pip
+ python3 -m pip install numpy
set -e
fi
@@ -248,7 +248,7 @@ elif apt --version 2>/dev/null; then
apt install -y cmake g++ make build-essential autoconf automake uuid-dev
apt install -y libtool libboost-dev libboost-system-dev libboost-thread-dev libpq-dev libz-dev
apt install -y python-dev python3-dev python3-pip python3-numpy
- pip3 install --upgrade pip
+ python3 -m pip install --upgrade pip
sqlite3_build_prepare
make
