mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
22 lines
680 B
Bash
Executable File
22 lines
680 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 -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
|