From 91df709f6d73948c63e057a2a4c6a2c182840555 Mon Sep 17 00:00:00 2001 From: Justin Karimi Date: Sat, 23 Jan 2021 21:07:28 -0500 Subject: [PATCH] Update Python3 pip Commands Update the pip3 commands to instead use the safer "python3 -m pip" method as some distros do not install pip3 as part of the python3-pip install (but calling the pip module using python3 is almost a guaranteed). --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index fada5ae..0d66feb 100755 --- a/install.sh +++ b/install.sh @@ -78,7 +78,7 @@ else sudo apt install -yq libgfortran5 fi -sudo pip3 install numpy ephem tweepy Pillow +sudo python3 -m pip install numpy ephem tweepy Pillow log_done "Packages installed" ### Create the database schema @@ -233,7 +233,7 @@ else cd /tmp unzip master.zip cd pd120_decoder-master/pd120_decoder/ - pip3 install --user -r requirements.txt + python3 -m pip install --user -r requirements.txt cp demod.py utils.py "$HOME/raspberry-noaa/" ) log_done "pd120_decoder installed"