#!/bin/sh # Install Pyenv curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash # Activate Pyenv export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init --path)" eval "$(pyenv virtualenv-init -)" pyenv install 3.10.1 pip install -r ~/.dotfiles/python/pip-requirements.txt jupyter nbextension install --py --sys-prefix jupyter_ascending jupyter nbextension enable jupyter_ascending --sys-prefix --py jupyter serverextension enable jupyter_ascending --sys-prefix --py conda install -n base ipykernel --update-deps --force-reinstall conda install --file ~/.dotfiles/python/conda-requirements.txt