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
88
Other Decks in Programming
See All in Programming
Amazon S3 NYJavaSIG 2024-12-12
sullis
0
100
採用事例の少ないSvelteを選んだ理由と それを正解にするためにやっていること
oekazuma
2
1k
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
220
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
2
380
Refactor your code - refactor yourself
xosofox
1
260
menu基盤チームによるGoogle Cloudの活用事例~Application Integration, Cloud Tasks編~
yoshifumi_ishikura
0
110
良いユニットテストを書こう
mototakatsu
7
2.2k
testcontainers のススメ
sgash708
1
120
コンテナをたくさん詰め込んだシステムとランタイムの変化
makihiro
1
130
Recoilを剥がしている話
kirik
5
6.7k
複雑な仕様に立ち向かうアーキテクチャ
myohei
0
170
PHPで作るWebSocketサーバー ~リアクティブなアプリケーションを知るために~ / WebSocket Server in PHP - To know reactive applications
seike460
PRO
2
280
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1030
460k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Rails Girls Zürich Keynote
gr2m
94
13k
Speed Design
sergeychernyshev
25
670
Music & Morning Musume
bryan
46
6.2k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Being A Developer After 40
akosma
87
590k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
32
2.7k
The Language of Interfaces
destraynor
154
24k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
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