Skip to content

Instantly share code, notes, and snippets.

@mychaelstyle
Last active October 10, 2018 04:02
Show Gist options
  • Save mychaelstyle/a1729fd1229f49fad5816b0dc7cfa096 to your computer and use it in GitHub Desktop.
Save mychaelstyle/a1729fd1229f49fad5816b0dc7cfa096 to your computer and use it in GitHub Desktop.
Install_pyenv_to_ubuntu16_5.2.0
# 必要パッケージのインストール
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