Last active
May 18, 2022 09:21
-
-
Save mrLexx/9a089801f171acfdc2aee4fac77134ba to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= Install prython 3.10 | |
https://computingforgeeks.com/how-to-install-python-on-ubuntu-linux-system/ | |
sudo apt update && sudo apt upgrade -y | |
sudo apt install software-properties-common -y | |
sudo add-apt-repository ppa:deadsnakes/ppa | |
sudo apt install python3.10 | |
= install pip for p 3.10 | |
https://askubuntu.com/questions/1239829/modulenotfounderror-no-module-named-distutils-util | |
sudo apt install python3-pip | |
sudo apt-get install python3-distutils | |
sudo apt install python3.10-distutils | |
sudo apt-get install python3-apt | |
?sudo apt install python3.10-apt | |
= repere sudo apt update | |
sudo apt-get remove --purge python3-apt; sudo apt autoremove; apt-get install python3-apt | |
= add alternative version python | |
https://askubuntu.com/questions/492029/update-alternatives-install-says-it-needs-link-name-path-priority | |
sudo update-alternatives --install /usr/bin/python3 python /usr/bin/python3.8 1 | |
sudo update-alternatives --install /usr/bin/python3 python /usr/bin/python3.10 2 | |
= select default python | |
sudo update-alternatives --list python | |
sudo update-alternatives --config python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment