1
0
mirror of https://github.com/gryf/vmstrap.git synced 2025-12-18 12:00:31 +01:00

Fix issues with python3

This commit is contained in:
2020-07-14 09:46:20 +02:00
parent 13aacd4245
commit eafe839e84

View File

@@ -144,6 +144,7 @@ ubuntu() {
;; ;;
'18.04') '18.04')
PGS=(ipython3 PGS=(ipython3
python3-pip
tmate tmate
vim-gtk) vim-gtk)
;; ;;
@@ -165,8 +166,13 @@ ubuntu() {
# 3. cleanup # 3. cleanup
sudo apt-get autoremove -y && sudo apt-get autoclean -y sudo apt-get autoremove -y && sudo apt-get autoclean -y
# 4. set default editor # 4. change alternatives
sudo update-alternatives --set editor /usr/bin/vim.basic sudo update-alternatives --set editor /usr/bin/vim.basic
sudo update-alternatives --remove-all python
sudo update-alternatives --set editor /usr/bin/vim.basic
sudo update-alternatives \
--install /usr/bin/python python /usr/bin/python3.6 10
sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10
# 5. install tools from pypi # 5. install tools from pypi
sudo pip install pip --upgrade sudo pip install pip --upgrade