Last active
September 11, 2019 12:45
-
-
Save Aricg/ff0133543c30f98afeb551c3ff06226e 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
sudo yum -y install python36 python36-devel python36-pip python36-setuptools python36-virtualenv | |
sudo alternatives --list | grep -i python | |
sudo alternatives --install /usr/bin/python python /usr/bin/python3.6 2 | |
sudo alternatives --install /usr/bin/python python /usr/bin/python2.7 1 | |
#This wont work, becasue pip is not a symlink! | |
#sudo alternatives --install /usr/bin/pip pip /usr/bin/pip3.6 1 | |
echo "Check python" | |
python -m pip --version | |
python --version | |
python -m venv ~/.venv | |
source ~/.venv/bin/activate | |
pip install --upgrade pip | |
pip install yq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment