When I try to open the exe I get an error that says "No such file or directory: 'save \\ host.txt', the error is when I try to open a file that is inside a folder, but I already added the folder in the file setup.py, can someone help me please?
hi thank you so much for this great tutorial, does this library offer any flexibility for linux based machines? my client is working on an ubuntu machine and it doesn't seem to work on his machine if I use "base='Win32GUI' " any help please?
i have a chatbot folder which responsible for chat bot function of the application. do i need to add my chatbot folder to file variable in order for it to work?
How large your built project? After I built, the built project folder upto 400MB due to the size of included PySide6 folder upto nearly 400MB Do you have any solutions, sir ?
Can I ask something? If we dont point to the CX_Freeze which libraries we are using in our script then it will compile all the libraries and modules of whole virtual environment or only the ones used in the main.py?
First, thanks a lot for this very detailed tutorial. I've never used cx_freeze or pyside6, but isn't the size of the directory a bit too large (205MB) for a program that only have functional UI? I've made simple gui programs with pyqt5 and pyinstaller, and resulting .exe file (I was packing everything in one .exe) was about 35MB. So the question is: "What exactly makes the build folder this large? Is it because of included resources, or new version of QT, or cx_freeze?"
PySide and PyQt are very large package, about 100mb with sfx executable. Is because Python are not good for mobile haha. All Cross platform framework are very large, like Electron JS or Flutter for example. The correct way is to use virtual environment for Python, but I don't use for personal projects.
Is there a way to be able to run the exe without the lib folder. It makes the whole folder more than half a gb which is a lot considering my actual software is small.
Use virtual environment and create a installer. When you package a software you need package all modules to run in another computer. Is the reason of big apps (mb). All cross platform gui are very large because need to have all settings to work with specific system and another's
Boa tarde Wanderson, poderia me ajudar com uma dúvida do cx_freeze? Eu tenho um script que fica apagando BKPs antigos de uma pasta e queria gerar o executável pra rodar sem aparecer o console, vi que ele tem a opção do silent level, mas não está funcionando, ele ainda mostra algumas saídas no console, estou usando "options = {'build_exe': {'silent_level': 3}}" dentro do setup(), saberia me dizer como usar o silent level da maneira correta? dessa forma ele até está gerando o .exe, mas com as saídas no console. Também tentei deixar o build options assim "build_options = {'packages': [], 'excludes': [], 'silent_level': 3}" e no options => "options = {'build_exe': build_options}" mas fica do mesmo jeito
Fala man! Conseguiu resolver? Estou com um problema semelhante. Eu tenho uma inferface e uso o Win32GUI para tirar o cmd, mas tenho um lib Moviepy que utiliza o cmd, ai quando gero o build e uso aquela lib, o sistema finaliza. Tens ideia de como resolver?
Both are excellent, everything will depend on choosing which one will best for your demand. You need to analyze which will have the resources you need, analyze the maintenance of code after your application is ready, if you are going to work alone or as a team. Only you will be able to answer this question haha...
@@asdsds1099 Both technologies are actually very good. With Electron you get the Ecosystem of Javascript, but imho the tool is complicated to implement. With Qt and Python you get (also imho) Pythons Ecosystem (Data-Stuff, AI, ...) and a much simplier overall system.
Olá tudo bem estou com um probleminha aqui tô fazendo um programa de vendas em python e pyqt5 já adicionei tudo num tablet widgets mas tô tentando fazer um for pra fazer a soma dos valores mais não estou conseguindo
Meio complicado entender como está seu projeto, o caminho correto é pegar valor por valor de cada campo, fazer os testes se todos estão funcionando corretamente, validar os dados para caso o usuário digite algo errado e só depois fazer os cálculos.
Boa noite Wanderson, até agora estou sem entender como que você criou o executável e aparecem as imagens, sem ter a pasta images, depois que cria o executável. Poderia me explicar como fazer isso? Se possivel e também tiver como, como não gerar a pasta lib e mesmo assim funcionar. Parabéns pelo seu trampo
//// DOWNLOAD (with early access) ////
🔗 Patreon: www.patreon.com/WandersonIsMyName
Can you make a tutorial on how to use threads when usings pyqt and pyside.
Finally a good tutorial to convert py to exe. I was using pyinstaller that has lot of issues when working with it.
Классный ролик! Нашел именно то, что долго искал. Спасибо!
Please Never stop with These modern gui Videos i love it and it helped me a lot
God bless you. I`ve been trying fo 3 days now adn it finally worked after your tutorial! Thank you ever so much.
Thank you SOOO much, you saved my whole plan, which I was going to give up on because pyinstaller didn't want to work
Excellent! I hope I will find time to catch up with your videos. Keep going! :D
When I try to open the exe I get an error that says "No such file or directory: 'save \\ host.txt', the error is when I try to open a file that is inside a folder, but I already added the folder in the file setup.py, can someone help me please?
if the same thing happened to someone you just have to copy the folder inside exe.win-amd64-3.9, but I wonder if there is another way to solve it
I'm getting some problems to use uic.exe. Unfortunately, it's compiling main.ui to C++, instead of Python.
Does anyone know how to solve this problem?
hi thank you so much for this great tutorial,
does this library offer any flexibility for linux based machines? my client is working on an ubuntu machine and it doesn't seem to work on his machine if I use "base='Win32GUI' "
any help please?
Super video ,
It help so many people include me
Thank you dear sir
i have a chatbot folder which responsible for chat bot function of the application. do i need to add my chatbot folder to file variable in order for it to work?
How large your built project?
After I built, the built project folder upto 400MB due to the size of included PySide6 folder upto nearly 400MB
Do you have any solutions, sir ?
Great job, it helped to me :))
You are the best man 👏
What method do you recommend for autoupdates?
hello thank you for the tutorial but can u tell me how to include modules? with csfreeze build
cannot import name exe from partially initialized module ''xlwt'' (most likely due to a cirular impory)
Can I ask something? If we dont point to the CX_Freeze which libraries we are using in our script then it will compile all the libraries and modules of whole virtual environment or only the ones used in the main.py?
Cx Freeze will read all modules linked to main.py, but the correct way is to use virtual environment in production.
First, thanks a lot for this very detailed tutorial. I've never used cx_freeze or pyside6, but isn't the size of the directory a bit too large (205MB) for a program that only have functional UI? I've made simple gui programs with pyqt5 and pyinstaller, and resulting .exe file (I was packing everything in one .exe) was about 35MB. So the question is: "What exactly makes the build folder this large? Is it because of included resources, or new version of QT, or cx_freeze?"
PySide and PyQt are very large package, about 100mb with sfx executable. Is because Python are not good for mobile haha. All Cross platform framework are very large, like Electron JS or Flutter for example. The correct way is to use virtual environment for Python, but I don't use for personal projects.
Thanks a lot 🙏
Is there a way to be able to run the exe without the lib folder. It makes the whole folder more than half a gb which is a lot considering my actual software is small.
Use virtual environment and create a installer. When you package a software you need package all modules to run in another computer. Is the reason of big apps (mb). All cross platform gui are very large because need to have all settings to work with specific system and another's
Boa tarde Wanderson, poderia me ajudar com uma dúvida do cx_freeze? Eu tenho um script que fica apagando BKPs antigos de uma pasta e queria gerar o executável pra rodar sem aparecer o console, vi que ele tem a opção do silent level, mas não está funcionando, ele ainda mostra algumas saídas no console, estou usando "options = {'build_exe': {'silent_level': 3}}" dentro do setup(), saberia me dizer como usar o silent level da maneira correta? dessa forma ele até está gerando o .exe, mas com as saídas no console.
Também tentei deixar o build options assim "build_options = {'packages': [], 'excludes': [], 'silent_level': 3}" e no options => "options = {'build_exe': build_options}" mas fica do mesmo jeito
Fala man! Conseguiu resolver?
Estou com um problema semelhante. Eu tenho uma inferface e uso o Win32GUI para tirar o cmd, mas tenho um lib Moviepy que utiliza o cmd, ai quando gero o build e uso aquela lib, o sistema finaliza.
Tens ideia de como resolver?
Please,How to reduce the size of the generated package?
This exe file will run on another laptop also ?
Do you recommend PyQt or ElectronJS?
Which one do you like better and which one has more control?
Both are excellent, everything will depend on choosing which one will best for your demand.
You need to analyze which will have the resources you need, analyze the maintenance of code after your application is ready, if you are going to work alone or as a team.
Only you will be able to answer this question haha...
Ok thank you :D.
@@asdsds1099 Both technologies are actually very good. With Electron you get the Ecosystem of Javascript, but imho the tool is complicated to implement. With Qt and Python you get (also imho) Pythons Ecosystem (Data-Stuff, AI, ...) and a much simplier overall system.
thanks for the video
Muito obrigado!
4:30 how do i place the extra files into the exe?
awesome
Just a suggestion: you can do the same with pyinstaller. much easier too :)
Yes, a have used PyInstaller, but a have some problems with Pythons 3.9 and Qt6 in the last week's. Cx Freeze works better for me here.
@@WandersonItsMe Let me try the latest and see. Nice video as usual Wanderson!
Olá tudo bem estou com um probleminha aqui tô fazendo um programa de vendas em python e pyqt5 já adicionei tudo num tablet widgets mas tô tentando fazer um for pra fazer a soma dos valores mais não estou conseguindo
Meio complicado entender como está seu projeto, o caminho correto é pegar valor por valor de cada campo, fazer os testes se todos estão funcionando corretamente, validar os dados para caso o usuário digite algo errado e só depois fazer os cálculos.
the QML give me problem, how I can resolve it? (Python 3.9)
Search by the generate error on Qt forums or Qt forum.
that doesnt work to me bruh
Boa noite Wanderson, até agora estou sem entender como que você criou o executável e aparecem as imagens, sem ter a pasta images, depois que cria o executável. Poderia me explicar como fazer isso? Se possivel e também tiver como, como não gerar a pasta lib e mesmo assim funcionar. Parabéns pelo seu trampo
Debes crear un qrc y poner recursos ahí, con eso están las imágenes y todo
how to remove the top default title bar in a pyqt5 application ??
I recorded this video: ruclips.net/video/wQfKamzV1uQ/видео.html
@@WandersonItsMe tysm
how can make standalone exe without lib folder
You can try: pypi.org/project/bbfreeze/
sir where is the github link its been a month
In the release video: ruclips.net/video/9DKc8fOj9TM/видео.html
@@WandersonItsMe thanks, sir its awesome
it can resist decompile
I don’t have Patreon
May 01 will be on GitHub for download