Browse Source

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).
pull/120/head
Justin Karimi 3 years ago
parent
commit
91df709f6d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      install.sh

+ 2
- 2
install.sh View File

@@ -78,7 +78,7 @@ else
sudo apt install -yq libgfortran5 sudo apt install -yq libgfortran5
fi fi


sudo pip3 install numpy ephem tweepy Pillow
sudo python3 -m pip install numpy ephem tweepy Pillow
log_done "Packages installed" log_done "Packages installed"


### Create the database schema ### Create the database schema
@@ -233,7 +233,7 @@ else
cd /tmp cd /tmp
unzip master.zip unzip master.zip
cd pd120_decoder-master/pd120_decoder/ 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/" cp demod.py utils.py "$HOME/raspberry-noaa/"
) )
log_done "pd120_decoder installed" log_done "pd120_decoder installed"


Loading…
Cancel
Save