Skip to content

Instantly share code, notes, and snippets.

@chewwt
Created June 7, 2022 08:00
Show Gist options
  • Save chewwt/c65a05959cf7dbb727ff3b76d8695be8 to your computer and use it in GitHub Desktop.
Save chewwt/c65a05959cf7dbb727ff3b76d8695be8 to your computer and use it in GitHub Desktop.
pyenv offline setup

Pyenv Offline Setup

  1. Download and transfer pyenv
  2. Extract pyenv-x.x.x.tar.gz into ~/.pyenv
  3. Add into ~/.zshrc and source
    export PATH=/home/user/.pyenv/bin:$PATH
    eval "$(pyenv init -)"
    eval "$(pyenv virtualenv-init -)"
  4. Download and transfer desired python-3.x.x
  5. Place Python-3.x.x.tar.zx file in ~/.pyenv/cache (Don't untar)
  6. Run pyenv install 3.x.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment