Skip to content

Instantly share code, notes, and snippets.

@leoh0
Created October 8, 2016 12:02
Show Gist options
  • Select an option

  • Save leoh0/57ba9bf1bc632836e2ac27dd15c20e37 to your computer and use it in GitHub Desktop.

Select an option

Save leoh0/57ba9bf1bc632836e2ac27dd15c20e37 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
curl -sL https://raw.github.com/yyuu/pyenv-installer/master/bin/pyenv-installer | \
PYENV_ROOT=/opt/pyenv USE_HTTPS=true bash
PYENV_ROOT=/opt/pyenv PYTHON_CONFIGURE_OPTS="--enable-unicode=ucs4" \
/opt/pyenv/bin/pyenv install 2.7.9
/opt/pyenv/versions/2.7.9/bin/pip install virtualenv
/opt/pyenv/versions/2.7.9/bin/virtualenv /opt/openstack/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment