Created
November 17, 2018 04:08
-
-
Save Ark74/648dc2228dd235fb4bedfc990fac7e74 to your computer and use it in GitHub Desktop.
Backport installer to python3 (Trisquel 8)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
# "-e" exists on first error. | |
#Check if user is root | |
if ! [ $(id -u) = 0 ]; then | |
echo "You need to be root or have sudo privileges!" | |
exit 1 | |
fi | |
apt -yq2 install libpng-dev \ | |
libfreetype6 \ | |
libfreetype6-dev \ | |
python3-dev \ | |
python3-simplejson \ | |
python3-pyqt4 \ | |
python3-numpy \ | |
python3-scipy \ | |
python3-matplotlib \ | |
libgeos-dev \ | |
python3-shapely \ | |
python3-pip \ | |
libspatialindex-dev | |
easy_install -U distribute | |
pip3 install --upgrade pip | |
pip3 install --upgrade matplotlib Shapely | |
pip3 install rtree | |
pip3 install svg.path | |
pip3 install request |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment