Tweaked to force Python3

This commit is contained in:
Daniel Quinn 2016-01-24 12:32:26 +00:00
parent 04bcb1cdad
commit 62353f7d0b

View File

@ -4,9 +4,9 @@
sudo apt-get update sudo apt-get update
sudo apt-get build-dep -y python-imaging sudo apt-get build-dep -y python-imaging
sudo apt-get install -y libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev sudo apt-get install -y libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev
sudo apt-get install -y build-essential python-dev python-pip sqlite3 libsqlite3-dev git sudo apt-get install -y build-essential python3-dev python3-pip sqlite3 libsqlite3-dev git
# setup python project # setup python project
pushd /opt/paperless pushd /opt/paperless
sudo pip install -r requirements.txt sudo pip3 install -r requirements.txt
popd popd