How to Install the Python And Switch of Environment?
How To Install The Python And Switch Of Environment? How to install the python and switch of environment? ¶ Introduction Sometimes, we need to different python versions development. The pyenv is very easier to help us switching any python versions. Equipment Operation System: Ubuntu 14.04 LTS Usage 1.. If you haven't used GIT, you should install it before you get started. $ sudo apt-get install curl git-core 2.. For automatically install pyenv. $ curl https://raw.github.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash 3.. Open up .bashrc located in your home directory with a text editor and add the following. File Name: .bashrc # Python environment switch export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)" (Save it) $ source ~/.bashrc 4.. To Verify pyenv is installed properly $ pyenv --version pyenv 20140...




































