Pyenv selbst ist ein Tool, mit dem die Version von Sprachen, die in der LL-Sprache üblich sind, einfach verwaltet werden kann.
Einfach zu installieren 1.git clone
$ git clone git://github.com/yyuu/pyenv.git ~/.pyenv
$ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
$ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
$ echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
$ source ~/.bash_profile
3 verfügbar
$ pyenv
pyenv 1.0.3-119-gfe1bd31
Usage: pyenv <command> [<args>]
Some useful pyenv commands are:
   commands    List all available pyenv commands
   local       Set or show the local application-specific Python version
   global      Set or show the global Python version
   shell       Set or show the shell-specific Python version
   install     Install a Python version using python-build
   uninstall   Uninstall a specific Python version
   rehash      Rehash pyenv shims (run this after installing executables)
   version     Show the current Python version and its origin
   versions    List all Python versions available to pyenv
   which       Display the full path to an executable
   whence      List all Python versions that contain the given executable
See `pyenv help <command>' for information on a specific command.
For full documentation, see: https://github.com/pyenv/pyenv#readme
pyenv-update Da pyenv selbst von git verwaltet wird, gibt es eine Möglichkeit, eine neue Version von git abzurufen, aber es gibt bereits ein Plug-in "pyenv-update", mit dem Sie auf einmal aktualisieren können.
https://github.com/pyenv/pyenv-update
Dies ist auch leicht einzuführen 1.git clone
$ git clone git://github.com/yyuu/pyenv-update.git ~/.pyenv/plugins/pyenv-update
$ pyenv update
Recommended Posts