Files
dotfiles/setup/python.sh
2022-01-12 10:23:29 +01:00

29 lines
531 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 2.7.17
pyenv install 3.10.1
pip3 install fawkes
pyenv virtualenv 2.7.17 neovim2
pyenv virtualenv 3.10.1 neovim3
pyenv activate neovim2
pip2 install neovim
pyenv activate neovim3
pip3 install neovim
pip3 install awscli
pyenv deactivate