Skip to content

Commit b0f9c40

Browse files
committed
pip3 command is replaced with python3 -m pip
Signed-off-by: ashish-jabble <[email protected]>
1 parent 40a343b commit b0f9c40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/RPM/SPECS/fledge.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ install_pip3_packages () {
405405
source scl_source enable rh-python36
406406

407407
# TODO: we may need with --no-cache-dir
408-
pip3 install -Ir /usr/local/fledge/python/requirements.txt
408+
python3 -m pip install -Ir /usr/local/fledge/python/requirements.txt
409409

410410
sudo bash -c 'source scl_source enable rh-python36; python3 -m pip install dbus-python numpy==1.19.5'
411411
set -e

plugins/packages/DEBIAN/postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if [ -f /usr/local/fledge/python/extras_install___PLUGIN_NAME__.sh ]; then
4141
fi
4242
# Install Python pip dependencies; if any
4343
if [ -f /usr/local/fledge/__INSTALL_DIR__/requirements.txt ]; then
44-
pip3 install -Ir /usr/local/fledge/__INSTALL_DIR__/requirements.txt
44+
python3 -m pip install -Ir /usr/local/fledge/__INSTALL_DIR__/requirements.txt
4545
fi
4646

4747
# For C based plugins

0 commit comments

Comments
 (0)