Bonjour,
Je souhaite utiliser docnado sur ubuntu 18.04. J'ai installé python 3.8.1 en suivant ce tuto : https://tecadmin.net/install-python-3-8-ubuntu/.
Je viens de m'apercevoir que python 2.7.17 est installé par défaut sur ma distribution.
Voici le retour des commandes :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2readlink `which python` python2.7
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 type python python est haché (/usr/bin/python)Dans /usr/local/bin/ la version 3.8 est bien installée et je souhaiterais qu'elle soit la version par défaut.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 ls -ld /usr/bin/python* lrwxrwxrwx 1 root root 9 déc 25 11:51 /usr/bin/python -> python2.7 lrwxrwxrwx 1 root root 9 déc 25 11:51 /usr/bin/python2 -> python2.7 -rwxr-xr-x 1 root root 3637096 nov 7 11:07 /usr/bin/python2.7 -rwxr-xr-x 1 root root 385 avr 11 2018 /usr/bin/python2-futurize -rwxr-xr-x 1 root root 389 avr 11 2018 /usr/bin/python2-pasteurize -rwxr-xr-x 1 root root 365 aoû 23 2016 /usr/bin/python2-qr lrwxrwxrwx 1 root root 9 déc 25 11:51 /usr/bin/python3 -> python3.6 -rwxr-xr-x 2 root root 4526456 nov 7 11:44 /usr/bin/python3.6 lrwxrwxrwx 1 root root 33 nov 7 11:44 /usr/bin/python3.6-config -> x86_64-linux-gnu-python3.6-config -rwxr-xr-x 2 root root 4526456 nov 7 11:44 /usr/bin/python3.6m lrwxrwxrwx 1 root root 34 nov 7 11:44 /usr/bin/python3.6m-config -> x86_64-linux-gnu-python3.6m-config lrwxrwxrwx 1 root root 16 oct 25 2018 /usr/bin/python3-config -> python3.6-config lrwxrwxrwx 1 root root 10 déc 25 11:51 /usr/bin/python3m -> python3.6m lrwxrwxrwx 1 root root 17 oct 25 2018 /usr/bin/python3m-config -> python3.6m-config
Merci pour votre aide.
Partager