Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

How to setup pyenv (with pyenv-virtualenv plugin)

  1. Install prerequisites for your distribution.

  2. curl https://pyenv.run | bash
  3. Add the required lines to ~/.bashrc (as returned by the script).
  4. Note (12/10/2021): You may have to manually modify .bashrc as described here: https://github.com/pyenv/pyenv-installer/issues/112#issuecomment-971964711. Remove this note if no longer applicable.
  5. Open a new shell. If pyenv command is still not available in PATH, you may need to restart the login session. 

...