Files
dotfiles/setup/python.sh

36 lines
895 B
Bash
Executable File

#!/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 fawkes
pip install autopep8
pip install black
pip install yamllint
pip install vim-vint
pip install gitlint
pip install codespell
pip install proselint
pip install flake8
pip install neovim
pip install awscli
pip install jupyter
pip install jupyterlab
pip install jupyter_ascending
pip install notebook
pip install voila
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