Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Python Version Management with pyenv
Search
Isman Firmansyah
April 26, 2014
Programming
1
170
Python Version Management with pyenv
Presented at Python ID meetup
Isman Firmansyah
April 26, 2014
Tweet
Share
More Decks by Isman Firmansyah
See All by Isman Firmansyah
Tracing Error Like A Boss
iromli
4
150
Introduction to Gevent
iromli
0
180
Python at Beautiplan
iromli
0
86
Other Decks in Programming
See All in Programming
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
24k
Quine, Polyglot, 良いコード
qnighy
4
640
Laravel や Symfony で手っ取り早く OpenAPI のドキュメントを作成する
azuki
2
120
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
色々なIaCツールを実際に触って比較してみる
iriikeita
0
330
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
540
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
2
1.1k
リアーキテクチャxDDD 1年間の取り組みと進化
hsawaji
1
220
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
110
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
110
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
What's new in Ruby 2.0
geeforr
343
31k
A better future with KSS
kneath
238
17k
Fireside Chat
paigeccino
34
3k
Six Lessons from altMBA
skipperchong
27
3.5k
Typedesign – Prime Four
hannesfritz
40
2.4k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
28
2k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Documentation Writing (for coders)
carmenintech
65
4.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Transcript
Python Version Management with pyenv A talk by / Isman
Firmansyah @iromli 0
Did You Know? So Many Pythons · · · ·
· ??? CPython PyPy Stackless Jython Anaconda
What If? You Need > 1 Python image taken from
http://dragoncid.deviantart.com/art/Ball-Pythons-419092972
Usecase 1 CPython 2.7 for legacy projects CPython 3.3+ for
newer projects
Usecase 2 CPython for common projects PyPy/Stackless/Jython/??? for specific projects
How to Manage Multiple Pythons? OS package manager Manual installation
standalone Python version manager (e.g. pyenv)
Learn The pyenv Way https://github.com/yyuu/pyenv pyenv lets you easily switch
between multiple versions of Python.
pyenv install
pyenv version(s)
pyenv global
pyenv local
pyenv shell
pyenv uninstall
Cons (might need) pyenv rehash after install/uninstall packages : Windows™
support? #firstworldproblems
Pros pure shell scripts — bash, zsh, fish version management
made easy plugins
Useful Links as alternative plugin plugin pyenv commands Pythonz pyenv-pip-rehash
pyenv-virtualenwrapper
THE END Questions? https://speakerdeck.com/iromli