Dossier target
Bonjour,
Je possède windows 11 et lorsque je lance la commande dans le cmd fbs freeze, j'obtient l'erreur suivante :
FileNotFoundError: Could not find api-ms-win-crt-multibyte-l1-1-0.dll on your PATH. If you are on Windows 10, you may have to install the Windows 10 SDK from https://dev.windows.com/en-us/downloads/windows-10-sdk. Otherwise, try installing KB2999226 from https://support.microsoft.com/en-us/kb/2999226. In both cases, add the directory containing api-ms-win-crt-multibyte-l1-1-0.dll to your PATH environment variable afterwards. If there are 32 and 64 bit versions of the DLL, use the 64 bit one (because that's the bitness of your current Python interpreter).
Le dossier target est bien crée avec warmup.exe mais quand j'essaye de l'ouvrir rien ne se passe.
Merci pour votre aide.
Salut,
Jai installé Windows SDK for Windows 11 (10.0.22621.1) Released as part of Windows 11, version 22H2
et toujours le même problème.
FileNotFoundError: Could not find api-ms-win-crt-multibyte-l1-1-0.dll on your PATH. If you are on Windows 10, you may have to install the Windows 10 SDK from https://dev.windows.com/en-us/downloads/windows-10-sdk. Otherwise, try installing KB2999226 from https://support.microsoft.com/en-us/kb/2999226. In both cases, add the directory containing api-ms-win-crt-multibyte-l1-1-0.dll to your PATH environment variable afterwards. If there are 32 and 64 bit versions of the DLL, use the 64 bit one (because that's the bitness of your current Python interpreter).
Salut Thibault
voici mon script :
from fbs_runtime.application_context.PySide2 import ApplicationContext
import sys
from package.main_window import MainWindow
if __name__ == '__main__':
appctxt = ApplicationContext() # 1. Instantiate ApplicationContext
window = MainWindow()
window.resize(250, 150)
window.show()
exit_code = appctxt.app.exec_() # 2. Invoke appctxt.app.exec_()
sys.exit(exit_code)
oui j'ai installer la version 64 bits et j'ai bien redémarré mon ordi
J'ai tout installé
Bonjour Mohamed, je reviens avec quelques éléments de réponses après avoir cherché plus en profondeur sur le net.
Je te conseille de regarder les instructions ici :
https://www.pythonguis.com/faq/fbs-error-python-3-8/
Dans la deuxième partie de la page, il indique avoir résolu le problème en ajoutant le chemin d'installation du SDK dans la variable PATH.
Je te laisse regarder ça, n'hésite pas si tu as des difficultés à modifier les variables d'environnement on pourra t'aider sur le sujet (il a mis des captures d'écrans dans son post donc c'est assez clair normalement).
Inscris-toi
(c'est gratuit !)
Tu dois créer un compte pour participer aux discussions.
Créer un compte