Let's say if you have two versions of 2.7.6 and 3.3.3. You can specify multiple versions via PYENV_VERSION at once. Run this command after you install a python version: $ pyenv rehash Once installed use pyenv to install python versions you need: $ pyenv install -l/-list -> List all available versions bash_profile: echo 'export PYENV_ROOT="$HOME/.pyenv"' > ~/.bash_profileĮcho 'export PATH="$PYENV_ROOT/bin:$PATH"' > ~/.bash_profileĮcho 'eval "$(pyenv init -)"' > ~/.bash_profile To install, just type: $ brew install pyenvĪdd this to your. It's simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well. Pyenv lets you easily switch between multiple versions of Python. You should consider install pyenv for this.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |