Pages : 1
#1 Le 02/11/2015, à 12:27
- Neant34
Python
Bonjour, j'ai python 2.7.9 installer de base sur ubuntu mais je n'arrive pas a le mettre a jour pour utiliser la version 3.4..
Quelqu'un pourrait m'aider ?
Merci d'avance
Dernière modification par Neant34 (Le 02/11/2015, à 12:27)
Hors ligne
#2 Le 02/11/2015, à 15:02
- k3c
Re : Python
si tu tapes
python3
, ça donne quoi ?
chez moi, j'ai Python 2.7-6 ou Python 3.4 suivant ce que je tape
gg@gg-P15SM-A-SM1-A:~$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>>
gg@gg-P15SM-A-SM1-A:~$ python3
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Archlinux sur Xiaomi Air 13
Hors ligne
#3 Le 02/11/2015, à 15:08
- Neant34
Re : Python
Ah oui ça me fais comme toi, mais de base c'est quel python ? Parce que quand je fais python -V ça me sort le 2.7
Hors ligne
#4 Le 02/11/2015, à 19:19
- pingouinux
Re : Python
Bonjour,
python c'est python2, à ne pas supprimer car utilisé par le système.
Hors ligne
#5 Le 03/11/2015, à 14:39
- Neant34
Re : Python
Ca marche merci beaucoup !
Hors ligne
#6 Le 04/11/2015, à 22:41
- Neant34
Re : Python
J'ai installer pygame sur mon ubuntu mais lorsque je fais import pygame depuis python3 il ne le reconnait pas mais si je le lance depuis python2.7 il le reconnait.
Comment je peux faire pour qu'il soit installer sur mon python3 aussi ?
Dernière modification par Neant34 (Le 04/11/2015, à 22:41)
Hors ligne
Pages : 1