
I do not know if it is usefull but here you have the content of the simple.spec : # -*- mode: python coding: utf-8 -*. Simply.py is in the folder but not found by pyinstaller, I still have no idea what to do. Now if I check again my folder with dir command : C:\Users\David Gomez\Desktop\test>dir Normally, if everything works corectly the folders are not empty. Then, I do the command C:\Users\David Gomez\Desktop\test>pyinstaller "C:\Users\David Gomez\Desktop\test\simple.py" and two new empty folders are created (build, dist) and a file simple.spec.

Répertoire de C:\Users\David Gomez\Desktop\test Le numéro de série du volume est 3AFA-C44C Le volume dans le lecteur C s’appelle Windows When I check my folder with the command dir, I obtain : C:\Users\David Gomez\Desktop\test>dir If there is a need for further clarification, let me know. After this it still did not work because I used Python 3.8.0, so I had to install pyinstaller development version.Īny ideas what the problem could be? Any help or guesses are appreciated. I had to first install Python from their own website instead of the Windows store. I create a new topic because that one is not updated anymore, the proposed solution :

Then I found another personne having the same problem ( Script not found when using pyinstaller), but the answer is not convincing and I clearly do not want to install another python. After some research, I thought the probleme was the space in my path between my name "David Gomez", so I wrote the path with quotes: C:\Users\David Gomez\Desktop\test>pyinstaller "C:\Users\David Gomez\Desktop\test\simple.py" Script 'C:\Users\David Gomez\Desktop\test\simple.py' not found I obtain : 1418 INFO: PyInstaller: 5.0.dev0ġ432 INFO: wrote C:\Users\David Gomez\Desktop\test\simple.spec In my case, I executed in the Anaconda Prompt : C:\Users\David Gomez\Desktop\test>pyinstaller simple.py I download first the PyInstaller from it is the version 4.2 but it gives me the same following error, so I tried with the latest version 5.0 which is in developpement. In the dist folder you find the bundled app you distribute to your exe file in the DIST folder as explained in :

I follow the guide ( ) :īut I do not obtain my. exe file of a simple python script with pyinstaller.
