installer pygame[Résolu]
-
- Messages : 5
- Enregistré le : ven. 7 avr. 2017 11:02
installer pygame[Résolu]
Bonjour,
Je suis sous mint 18 et souhaite installer pygame comme environnement graphique pour python car c'est celui que je sais utiliser.
Pygame n’apparaît pas dans le gestionnaire de Logiciel et pip non plus.
La commande sudo apt-get install python-pygame me renvoie la réponse : Impossible de trouver le paquet python-pygame
Merci d'avance
Je suis sous mint 18 et souhaite installer pygame comme environnement graphique pour python car c'est celui que je sais utiliser.
Pygame n’apparaît pas dans le gestionnaire de Logiciel et pip non plus.
La commande sudo apt-get install python-pygame me renvoie la réponse : Impossible de trouver le paquet python-pygame
Merci d'avance
Modifié en dernier par harchymaide le mar. 21 août 2018 17:00, modifié 1 fois.
Aspire-ES1-311, Intel Celeron N2840 / 1082/2582 MHz, Bios: Insyde
Graphics: Card: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Linux Mint 18 Sarah, Xfce 4.12.3, 4.4.0-21-generic x86_64
Graphics: Card: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Linux Mint 18 Sarah, Xfce 4.12.3, 4.4.0-21-generic x86_64
Re: installer pygame
Salut harchymaide,
Pour pip, il faut rechercher: "python-pip" si tu le veux en 2.7 et "python3-pip" si tu le veux en 3.5 (je crois).
Pour pygame, c'est bizarre que ta commande marche pas parce que chez moi, je l'ai dans la liste des paquets:
Pour pip, il faut rechercher: "python-pip" si tu le veux en 2.7 et "python3-pip" si tu le veux en 3.5 (je crois).
Pour pygame, c'est bizarre que ta commande marche pas parce que chez moi, je l'ai dans la liste des paquets:
Code : Tout sélectionner
~ $ sudo apt-cache search -n pygame
python-pygame - SDL bindings for games development in Python
python-pygame-sdl2 - reimplementation of the Pygame API using SDL2
PC1: Mobo: Gigabyte B550 AORUS Elite 2 / CPU: AMD Ryzen 7 3700X / GPU: MSI Radeon RX 580 Armor / RAM: 32 GB @3600 MHz CL16 / SSD: Samsung 970 EVO 500 GB / LM 20.2 Xfce
PC2: HP Pavilion 15 / AMD Ryzen 5 5500U with Radeon Graphics / 16GB RAM / 500 GB SSD / Debian 11 Xfce
PC3: Dell-Latitude E7240 / 2.1GHz i7-4600U / Intel Haswell-ULT HD 4400 / 8GB RAM / 250 GB Hard Drive / LM 20.2 Xfce
PC2: HP Pavilion 15 / AMD Ryzen 5 5500U with Radeon Graphics / 16GB RAM / 500 GB SSD / Debian 11 Xfce
PC3: Dell-Latitude E7240 / 2.1GHz i7-4600U / Intel Haswell-ULT HD 4400 / 8GB RAM / 250 GB Hard Drive / LM 20.2 Xfce
Re: installer pygame
Slt ,
peut-être faire avant un :
puis refaire
sinon vérifie avec
@+
peut-être faire avant un :
Code : Tout sélectionner
sudo apt update
Code : Tout sélectionner
sudo apt install python-pygame -f
Code : Tout sélectionner
apt search pygame
Desktop: LXDE Distro: Debian 12 Bookworm
Kernel: 6.1.0-18-amd64 Drive: Intel Nvme 240
CPU: Ryzen 3 PRO 2200GE RAM: 16 go Graphics Card: AMD ATI Radeon Vega Series
Kernel: 6.1.0-18-amd64 Drive: Intel Nvme 240
CPU: Ryzen 3 PRO 2200GE RAM: 16 go Graphics Card: AMD ATI Radeon Vega Series
-
- Messages : 5
- Enregistré le : ven. 7 avr. 2017 11:02
Re: installer pygame
J'ai essayé la proposition de david37 pour trouver pip
Pour python 2:
Et pour python 3:
Pour python 2:
Code : Tout sélectionner
Impossible de trouver le paquet python-pip
Code : Tout sélectionner
Aucune version du paquet python3-pip n'est disponible, mais il existe dans la base
de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète
ou qu'il n'est disponible que sur une autre source
Aspire-ES1-311, Intel Celeron N2840 / 1082/2582 MHz, Bios: Insyde
Graphics: Card: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Linux Mint 18 Sarah, Xfce 4.12.3, 4.4.0-21-generic x86_64
Graphics: Card: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Linux Mint 18 Sarah, Xfce 4.12.3, 4.4.0-21-generic x86_64
-
- Messages : 5
- Enregistré le : ven. 7 avr. 2017 11:02
Re: installer pygame
J'ai suivi la proposition de tyrry
Impossible ensuite d'installer pygame et lors de la recherche du paquet, pas de réponse
La mise à jour ne se fait pas
Code : Tout sélectionner
sudo apt update
Atteint:1 https://repo.skype.com/deb stable InRelease
Ign:2 http://mirror.edatel.net.co/linuxmint-packages sarah InRelease
Atteint:3 http://mirror.edatel.net.co/linuxmint-packages sarah Release
Atteint:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Atteint:5 http://archive.canonical.com/ubuntu xenial InRelease
Atteint:7 http://www.geogebra.net/linux stable InRelease
Ign:8 http://ubuntu.uniminuto.edu/ubuntu xenial InRelease
0% [Attente des fichiers d'en-tête]
Ign:9 http://ubuntu.uniminuto.edu/ubuntu xenial-updates InRelease
Ign:10 http://ubuntu.uniminuto.edu/ubuntu xenial-backports InRelease
Err:11 http://ubuntu.uniminuto.edu/ubuntu xenial Release
503 Service Unavailable
Err:12 http://ubuntu.uniminuto.edu/ubuntu xenial-updates Release
503 Service Unavailable
Err:13 http://ubuntu.uniminuto.edu/ubuntu xenial-backports Release
503 Service Unavailable
Lecture des listes de paquets... Fait
E: The repository 'http://ubuntu.uniminuto.edu/ubuntu xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ubuntu.uniminuto.edu/ubuntu xenial-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ubuntu.uniminuto.edu/ubuntu xenial-backports Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
La mise à jour ne se fait pas
Aspire-ES1-311, Intel Celeron N2840 / 1082/2582 MHz, Bios: Insyde
Graphics: Card: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Linux Mint 18 Sarah, Xfce 4.12.3, 4.4.0-21-generic x86_64
Graphics: Card: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Linux Mint 18 Sarah, Xfce 4.12.3, 4.4.0-21-generic x86_64
-
- Messages : 5
- Enregistré le : ven. 7 avr. 2017 11:02
Re: installer pygame
Merci de vos propositions
Aspire-ES1-311, Intel Celeron N2840 / 1082/2582 MHz, Bios: Insyde
Graphics: Card: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Linux Mint 18 Sarah, Xfce 4.12.3, 4.4.0-21-generic x86_64
Graphics: Card: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Linux Mint 18 Sarah, Xfce 4.12.3, 4.4.0-21-generic x86_64
Re: installer pygame
D'autres confirmeront mais j'ai l'impression que tu as un souci avec les sources que tu utilises pour le dépôt de logiciels...
PC1: Mobo: Gigabyte B550 AORUS Elite 2 / CPU: AMD Ryzen 7 3700X / GPU: MSI Radeon RX 580 Armor / RAM: 32 GB @3600 MHz CL16 / SSD: Samsung 970 EVO 500 GB / LM 20.2 Xfce
PC2: HP Pavilion 15 / AMD Ryzen 5 5500U with Radeon Graphics / 16GB RAM / 500 GB SSD / Debian 11 Xfce
PC3: Dell-Latitude E7240 / 2.1GHz i7-4600U / Intel Haswell-ULT HD 4400 / 8GB RAM / 250 GB Hard Drive / LM 20.2 Xfce
PC2: HP Pavilion 15 / AMD Ryzen 5 5500U with Radeon Graphics / 16GB RAM / 500 GB SSD / Debian 11 Xfce
PC3: Dell-Latitude E7240 / 2.1GHz i7-4600U / Intel Haswell-ULT HD 4400 / 8GB RAM / 250 GB Hard Drive / LM 20.2 Xfce
Re: installer pygame
Slt ,
la commande "update" a permis de voir que tu as des soucis de dépôts
je te propose d'aller dans le menu système / sources de logiciels puis
vas sur ppa et décoche tout
vas sur dépôts supplémentaire et décoche tout aussi
puis vas sur dépôts officiels et change de mirroir puis clic sur : recharger
ensuite refait :
@+
la commande "update" a permis de voir que tu as des soucis de dépôts
je te propose d'aller dans le menu système / sources de logiciels puis
vas sur ppa et décoche tout
vas sur dépôts supplémentaire et décoche tout aussi
puis vas sur dépôts officiels et change de mirroir puis clic sur : recharger
ensuite refait :
Code : Tout sélectionner
sudo apt update && sudo apt upgrade && sudo apt install python-pygame -f
Desktop: LXDE Distro: Debian 12 Bookworm
Kernel: 6.1.0-18-amd64 Drive: Intel Nvme 240
CPU: Ryzen 3 PRO 2200GE RAM: 16 go Graphics Card: AMD ATI Radeon Vega Series
Kernel: 6.1.0-18-amd64 Drive: Intel Nvme 240
CPU: Ryzen 3 PRO 2200GE RAM: 16 go Graphics Card: AMD ATI Radeon Vega Series
-
- Messages : 5
- Enregistré le : ven. 7 avr. 2017 11:02
Re: installer pygame
Ça a bien fonctionné et cela me rempli de joie
Merci encore de votre assistance
Ps : comment dois-je faire pour passer en résolu ?
Merci encore de votre assistance
Ps : comment dois-je faire pour passer en résolu ?
Aspire-ES1-311, Intel Celeron N2840 / 1082/2582 MHz, Bios: Insyde
Graphics: Card: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Linux Mint 18 Sarah, Xfce 4.12.3, 4.4.0-21-generic x86_64
Graphics: Card: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Linux Mint 18 Sarah, Xfce 4.12.3, 4.4.0-21-generic x86_64
Re: installer pygame
Tant mieux si ça a marché
Pour passer un sujet en résolu, c'est le premier message qu'il faut éditer:
David
Pour passer un sujet en résolu, c'est le premier message qu'il faut éditer:
A+Bonjour,
si le sujet est résolu merci d'éditer le premier message du sujet, puis :
- mettre un petit , comme suit: voir tuto ici
- mettre un [résolu] (entre crochets et à gauche) dans le titre de ce premier message
David
PC1: Mobo: Gigabyte B550 AORUS Elite 2 / CPU: AMD Ryzen 7 3700X / GPU: MSI Radeon RX 580 Armor / RAM: 32 GB @3600 MHz CL16 / SSD: Samsung 970 EVO 500 GB / LM 20.2 Xfce
PC2: HP Pavilion 15 / AMD Ryzen 5 5500U with Radeon Graphics / 16GB RAM / 500 GB SSD / Debian 11 Xfce
PC3: Dell-Latitude E7240 / 2.1GHz i7-4600U / Intel Haswell-ULT HD 4400 / 8GB RAM / 250 GB Hard Drive / LM 20.2 Xfce
PC2: HP Pavilion 15 / AMD Ryzen 5 5500U with Radeon Graphics / 16GB RAM / 500 GB SSD / Debian 11 Xfce
PC3: Dell-Latitude E7240 / 2.1GHz i7-4600U / Intel Haswell-ULT HD 4400 / 8GB RAM / 250 GB Hard Drive / LM 20.2 Xfce