Difficultés à convertir mon fichier python en fichier .exe

Résolu
Ben_Ben -  
mamiemando Messages postés 33772 Date d'inscription   Statut Modérateur Dernière intervention   -

Bonjour,

Je souhaite convertir mon fichier python en fichier .exe. Mais quand j'essaie en ligne de commande avec : auto pip to exe, j'obtiens le message suivant.

ERROR: Could not find a version that satisfies the requirement auto-pip-to-exe (from versions: none)
ERROR: No matching distribution found for auto-pip-to-exe

[notice] A new release of pip available: 22.2.1 -> 22.2.2
[notice] To update, run: C:\Users\LENOVO GAMER\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\python.exe -m pip install --upgrade pip

Quelqu'un peut-il m'aider s'il vous plaît ?

A voir également:

2 réponses

trauqnej Messages postés 154 Date d'inscription   Statut Membre Dernière intervention   23
 

En fait, il indique qu'il faut mettre à jour !!

donc, dans une console (boite écran noir) lancé via cmd....

Il faut mettre la ligne indiquée :

C:\Users\LENOVO GAMER\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\python.exe -m pip install --upgrade pip

Cordialement,

0
mamiemando Messages postés 33772 Date d'inscription   Statut Modérateur Dernière intervention   7 882
 

Bonjour,

Pour compléter ce que trauqnej indique :

  • mets à jour pip
  • installe auto-pip-to-exe
  • lance  auto-pip-to-exe
python -m pip install --upgrade pip
pip install auto-py-to-exe
auto-py-to-exe

Pour plus de détails, voir cette page.

Bonne chance

0