Replies: 4 comments 4 replies
-
Hi! Thanks for letting me know, it could be useful to have .exe instead of .py if someday we develop a Windows installer 👍 |
Beta Was this translation helpful? Give feedback.
-
Thank you so much! was trying to do this but it kept opening cmd up couldn't close it without closing the program too. This is eactly what I wanted and easy to do thanks! |
Beta Was this translation helpful? Give feedback.
-
Altho this seemingly helped a bit with my atempt. (https://github.com/pyinstaller/pyinstaller/blob/develop/.github/ISSUE_TEMPLATE/antivirus.md#reporting-false-positives-to-av-vendors)
Unless someone can tell me how to fix this, Im done with windows 11. I go back using Arch where stuff just works. (also why i left MS windows 10 years ago... the ever changing ways of doing crap without any documents and 100 ways of "update your drivers, reboot") |
Beta Was this translation helpful? Give feedback.
-
Hello, first of all, excuse my English (Google Translate), I have tried to replicate what you indicate but I always get the same error: "pyinstaller" is not recognized as an internal or external command, I guess I'm doing something wrong, this is my first approach to Python because of the screen. I managed to get it to start using a simple .bat and a scheduled task, it is probably the least beautiful way to do it but for now it works. But the truth is I would like to be able to create the .exe as you indicate. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First @mathoudebine thank you ! I didn't want to use the executable coming with my recently purchased screen but I'm a complete beginner in coding and your project is very well documented and clearly explained, and I have now a perfectly functionnal monitor
It may be obvious for some but I created an executable of configure.py because I wanted to quickly start my screen only when gaming. If it can help a beginner like me :
pyinstaller configure.py --onefile --windowed --uac-admin --collect-data sv_ttk
(remove --windowed if you want to keep the cmd window)For main.py, it was working fine but I had a warning in the console asking for babel.numbers so I added it :
pyinstaller main.py --onefile --windowed --uac-admin --collect-data sv_ttk --hidden-import "babel.numbers"
Everything seems to be working on Windows 10, not sure about W11, Linux ...
Beta Was this translation helpful? Give feedback.
All reactions