Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
shell-recipe for pyenv install of Python 3.6.2 on CentOS / Redhat 6.7
# REF:
# ... building Python 3.6.2 on Bastion, "locally"
# yum install [Python3 build pre-reqs, on CentOS 6.7]
curl -L | bash
tee -a $HOME/.bash_profile <<EOF
export PATH="\$HOME/.pyenv/bin:\$PATH"
eval "\$(pyenv init -)"
eval "\$(pyenv virtualenv-init -)"
# re-login!
pyenv install 3.6.2
# REF:
pyenv commands
cd $HOME/py-capacity-openstack
pyenv local 3.6.2
pyenv virtualenv ostk-capacity
pyenv activate ostk-capacity
# pip install -r requirements.txt # openstack SDK et al
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.