Pyinstaller + linux 14.04 LTS
jeanbi Messages postés 15397 Statut Contributeur -
Bonjour,
J'ai essayer d'installer pyinstaller avec mon "linux 14.04 LTS" (pip install pyinstaller)
voici l'erreur (j'ai juste changer le 'mon nom'):
Downloading/unpacking pyinstaller
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement pyinstaller
Cleaning up...
No distributions at all found for pyinstaller
Storing debug log for failure in /home/monnom/.pip/pip.log
Linux / Firefox 66.0
- Ubuntu pyinstaller
- Ubuntu 32 bits - Télécharger - Systèmes d'exploitation
- Ubuntu portable - Télécharger - Systèmes d'exploitation
- Linux mint ou ubuntu - Guide
- Ubuntu download - Télécharger - Systèmes d'exploitation
- Ubuntu 24.04 - Accueil - Ubuntu
5 réponses
Bonjour, sur linux il y a généralement python (python 2), et python3.
Python2 n'étant plus maintenu, il faut donc utiliser python3, donc pip3.
Linux 14.04 ???
Tu utilise Ubuntu ?
Pour info, cette version est hors maintenance il me semble, je te recommande de passer à la 22.04 qui a été libérée en Avril et mise à disposition il y a quelques jours pour les upgrades.
Par contre si tu veux faire l'upgrade directement, ça va te demander de toucher un peu la mécanique.
bonjour
n'importe quoi j'ai un vieux packard Bell tj 66 qui tourne avec la dernière version de Fedora 37sans aucun souci.
de plus il vaut mieux commencer par mettre ta version vers la 18.04 lts et ensuite.. tu peux continuer
https://lecrabeinfo.net/mettre-a-jour-ubuntu-18-04-19-10-vers-20-04-lts.html
bon amusement
a+
Quelle est ta version de python3 ? Si antérieure à 3.7, normal que tu aies cette erreur ressemblant à la nouvelle syntaxe du formatage des strings.
pyinstaller requiert au minimum la version 3.7
https://pypi.org/project/pyinstaller/
Donc il est impossible d'utilisé pyinstaller sur ubuntu?
mon_nom@mon_nom-HP-Pavilion-dv6-Notebook-PC:~$ sudo apt install python3.7
[sudo] password for mon_nom:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3.7
E: Couldn't find any package by regex 'python3.7'
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
l'erreur que j'obtient en utilisant 'pip3':
Downloading/unpacking pyinstaller
Downloading pyinstaller-5.3.tar.gz (2.3MB): 2.3MB downloaded
Running setup.py (path:/tmp/pip_build_mon_nom/pyinstaller/setup.py) egg_info for package pyinstaller
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_mon_nom/pyinstaller/setup.py", line 106
f"Error: No bootloaders for {self.PLAT_NAME} found in {self.bootloaders_dir()}. See "
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_mon_nom/pyinstaller/setup.py", line 106
f"Error: No bootloaders for {self.PLAT_NAME} found in {self.bootloaders_dir()}. See "
^
SyntaxError: invalid syntax
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_mon_nom/pyinstaller
Storing debug log for failure in /home/mon_nom/.pip/pip.log