Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
Python Version Management with pyenv A talk by / Isman Firmansyah @iromli 0
Slide 2
Slide 2 text
Did You Know? So Many Pythons · · · · · ??? CPython PyPy Stackless Jython Anaconda
Slide 3
Slide 3 text
What If? You Need > 1 Python image taken from http://dragoncid.deviantart.com/art/Ball-Pythons-419092972
Slide 4
Slide 4 text
Usecase 1 CPython 2.7 for legacy projects CPython 3.3+ for newer projects
Slide 5
Slide 5 text
Usecase 2 CPython for common projects PyPy/Stackless/Jython/??? for specific projects
Slide 6
Slide 6 text
How to Manage Multiple Pythons? OS package manager Manual installation standalone Python version manager (e.g. pyenv)
Slide 7
Slide 7 text
Learn The pyenv Way https://github.com/yyuu/pyenv pyenv lets you easily switch between multiple versions of Python.
Slide 8
Slide 8 text
pyenv install
Slide 9
Slide 9 text
pyenv version(s)
Slide 10
Slide 10 text
pyenv global
Slide 11
Slide 11 text
pyenv local
Slide 12
Slide 12 text
pyenv shell
Slide 13
Slide 13 text
pyenv uninstall
Slide 14
Slide 14 text
Cons (might need) pyenv rehash after install/uninstall packages : Windows™ support? #firstworldproblems
Slide 15
Slide 15 text
Pros pure shell scripts — bash, zsh, fish version management made easy plugins
Slide 16
Slide 16 text
Useful Links as alternative plugin plugin pyenv commands Pythonz pyenv-pip-rehash pyenv-virtualenwrapper
Slide 17
Slide 17 text
THE END Questions? https://speakerdeck.com/iromli