Pyenv: Difference between revisions
From charlesreid1
(Created page with "==What is it== ==Installing== ===Mac OS X=== Fortunately, pyenv is available through Homebrew on Mac OS X. <pre> brew install pyenv </pre> ===Debian=== To install pyenv...") |
|||
| Line 1: | Line 1: | ||
==What is it== | ==What is it== | ||
pyenv is a command-line program that helps you control which version of Python you wish to use. This makes it really easy to switch from stock Python to conda to minipython to jython to pypy. | |||
==Installing== | ==Installing== | ||
Revision as of 00:25, 9 February 2018
What is it
pyenv is a command-line program that helps you control which version of Python you wish to use. This makes it really easy to switch from stock Python to conda to minipython to jython to pypy.
Installing
Mac OS X
Fortunately, pyenv is available through Homebrew on Mac OS X.
brew install pyenv
Debian
To install pyenv on Debian, use the pyenv-installer script provided by the author of pyenv.
Link: https://github.com/pyenv/pyenv-installer
curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
Advanced Topics
Using virtualenv with pyenv
See pyvenv: