Last active
October 10, 2018 04:02
-
-
Save mychaelstyle/a1729fd1229f49fad5816b0dc7cfa096 to your computer and use it in GitHub Desktop.
Install_pyenv_to_ubuntu16_5.2.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 必要パッケージのインストール | |
sudo apt-get install git gcc make openssl libssl-dev libbz2-dev libreadline-dev libsqlite3-dev | |
# pyenvのインストール | |
cd | |
git clone git://github.com/yyuu/pyenv.git ${HOME}/.pyenv | |
cat << EOF >> ${HOME}/.profile | |
export PYENV_ROOT=\${HOME}/.pyenv | |
export PATH=\${PYENV_ROOT}/bin:\${PATH} | |
eval "\$(pyenv init -)" | |
EOF | |
source ${HOME}/.profile | |
# anacondaのインストール | |
pyenv install anaconda3-5.2.0 | |
# インストール確認 | |
pyenv versions | |
# anaconda3利用の設定 | |
pyenv global anaconda3-5.2.0 | |
# jupyter notebookの起動 | |
cd | |
mkdir notebook | |
cd notebook | |
jupyter-notebook ./ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment