Last active
November 10, 2016 02:34
-
-
Save roxma/c4de9e894ef35fe1d1777c946d9094da to your computer and use it in GitHub Desktop.
This file contains 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
# root required | |
yum install centos-release-scl | |
yum install python33 | |
. /opt/rh/python33/enable | |
wget https://bootstrap.pypa.io/get-pip.py | |
python get-pip.py | |
echo '#!/bin/sh | |
. /opt/rh/python33/enable | |
exec python3 "$@" | |
' > /usr/bin/python3 | |
chmod +x /usr/bin/python3 | |
echo '#!/bin/sh | |
. /opt/rh/python33/enable | |
exec pip3 "$@" | |
' > /usr/bin/pip3 | |
chmod +x /usr/bin/pip3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
change
python33
intorh-python35
if you need python35