Skip to content

Instantly share code, notes, and snippets.

@huangziwei
Created July 28, 2017 13:33
Show Gist options
  • Save huangziwei/5632d7eb59790361c5875b905742199b to your computer and use it in GitHub Desktop.
Save huangziwei/5632d7eb59790361c5875b905742199b to your computer and use it in GitHub Desktop.
#!/bin/bash
git clone https://github.com/pyenv/pyenv .pyenv
echo 'export PYENV_ROOT="/.pyenv"' >> ~/.bashrc
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
exec $SHELL
pyenv install miniconda3-latest
pyenv shell miniconda3-latest
conda install numpy scipy jupyter matplotlib scikit-learn
conda install ipykernell
python -m ipykernel install --user --name py36 --display-name "Python 3.6"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment