[email protected]: ~# apt-get install Python3 python3-pip git
Export Pyenv_root=/install/path Specify PYENV installation path
[email protected]: ~# curl-l Https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | Bash
Use pyenv to manage Python for multi-version coexistence
#[email protected]: ~# VIM/ROOT/.BASHRC
#export Path=/root/.pyenv/bin: $PATH
[email protected]: ~# vim/etc/profile.d/pyenv.sh#!/bin/bash
#File Name:/etc/profile.d/pyenv.sh
#Define environment variable
Export pyenv_root= "$HOME/.pyenv"
Export path= "$PYENV _root/bin: $PATH"
Eval "$ (pyenv init-)"
source/etc/profile.d/pyenv.sh
[email protected]: ~# pyenv Install 3.4.2 here may be an error
-
157 2016-06-18 19:01:34 pyenv install--list
158 2016-06-18 19:04:56 apt-get Install make
159 2016-06-18 19:02:15 pyenv install 3.4.2
160 2016-06-18 1 9:11:45 cd ~/.pyenv/plugins/python-build && git pull
161 2016-06-18 19:12:19 pyenv Install 3.4.2< br> 162 2016-06-18 19:18:05 curl-iv https://buy.itunes.apple.com/verifyReceipt
163 2016-06-18 19:18:13 pyenv Install 3.4.2
164 2016-06-18 19:45:23 pip3 install jupyter
165 2 016-06-18 19:32:03 pyenv Install 3.4.2
166 2016-06-18 19:47:36 jupyter notebook
167 2016- 06-18 23:29:45 jupyter Notebook
168 2016-06-18 23:33:41 jupyter notebook--ip=0.0.0.0
[email protected]: ~# jupyter notebook web version of a Ipython
R[email protected]: ~/.pip# vim pip.conf configuration pip
[Global]
Index-url = http://pypi.douban.com/simple Add the PIP source of the domestic watercress
Error more browse official website git
This article is from the "11727697" blog, please be sure to keep this source http://11737697.blog.51cto.com/11727697/1790712
Python Environment pyenv