Standalone Python EXE Executable - Python Kivy GUI Tutorial #20

  Рет қаралды 57,942

Codemy.com

Codemy.com

Күн бұрын

Пікірлер: 191
@Codemycom
@Codemycom 4 жыл бұрын
▶️ Watch Entire Kivy Playlist ✅ Subscribe To My KZbin Channel: bit.ly/37LrJ27 bit.ly/2IGzvOR ▶️ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt! Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN ▶️ Get The Code bit.ly/3qFVmJ9
@jannesbecker8372
@jannesbecker8372 3 жыл бұрын
Me also gets this failed to execute script error. I tried ALL of the things already mentioned but it did NOT work. Do you think I must try the GitBash terminal?
@ij1316
@ij1316 3 жыл бұрын
You probably have an error. Remove the -w flag and run the exe so that you can see what's happening in the console window
@elevendarter112
@elevendarter112 Жыл бұрын
I used auto-py-to-exe for creating a simple exe file. At first I had to paste the .kv file content as a string right into the .py file. Then I didn't have to write any additional things into the specs etc. Actually, I created it as an One File, Window Based file so no additional folders or files were created anyway. It worked fine right at the first attempt. Then I made a few more attempts with having the separate .kv file and I tried to add it to the rest during the auto-py-to-exe process, similarly like I used to do when I was creating exe files from my customtkinter files. It didn't work. No problem though. The first method is easy and I think it's better. You have just one exe file and nothing else to mess with.
@marie-pierneault1035
@marie-pierneault1035 9 ай бұрын
Thanks for the tipp, I'm on this video since two days and it keeps telling me that my .kv is not found. Just drop it as a string and it works at first place!
@huguesrubin5804
@huguesrubin5804 3 жыл бұрын
Hi! How can we manage to have a single executable file with all the dependencies in it instead of a directory ?(equivalent to the --onefile command)
@huguesrubin5804
@huguesrubin5804 3 жыл бұрын
@Максимов Александр Сергеевич nah I already tried but it's not working for a kivy file
@Albrazi
@Albrazi 2 жыл бұрын
not sure if he made another video on this but an easier way is using "auto-py-to-exe". You could select the py file and then add any additional files with it. No need to code anything.
@colecates5554
@colecates5554 Жыл бұрын
This doesn't work with the kv file for me. I add the kv file but I get a crash when I try to run the exe
@w1z4rd9
@w1z4rd9 Жыл бұрын
You are a saint
@woetotheconquered3451
@woetotheconquered3451 2 жыл бұрын
In case anyone needs it: I was having trouble with my file working, I changed "C:\\" for "..\\" on the path and it worked for me.
@kemar3789
@kemar3789 2 жыл бұрын
Good day I'm having a problem when converting and editing the spec sheet specifically because I don't have a separate kv file. I have the in line build.load string so how would I go about converting that to a exe
@solnik6236
@solnik6236 2 жыл бұрын
A SMASH FOR YOU AND YOU ENERGYYYYYYY THANK YOUUUUU!!!!!! LiKE share hug and everythiiiing
@Codemycom
@Codemycom 2 жыл бұрын
Thanks!
@dheerajd9965
@dheerajd9965 4 жыл бұрын
Amazing sir was waiting for this
@Codemycom
@Codemycom 4 жыл бұрын
Enjoy
@Walter-mr5hd
@Walter-mr5hd 2 жыл бұрын
Thanks!
@Codemycom
@Codemycom 2 жыл бұрын
Thank you!
@maksimkobylyuk7994
@maksimkobylyuk7994 3 жыл бұрын
I got this weird error, I followed this video step by step but still came out bad. Any Ideas? Unhandled exception in script Failed to execute script 'main' due to unhandled exception: 'NoneType' object has no attribute 'size' Failed to obtain/convert traceback!
@otaviogabrielrochaecheverr5845
@otaviogabrielrochaecheverr5845 3 жыл бұрын
i've got the same here: 'NoneType' object has no attribute 'size' Failed to obtain/convert traceback! And i have no clue to solve it LOL
@Agate.
@Agate. 2 жыл бұрын
did you ever find out what caused the error?
@trescientos4301
@trescientos4301 3 жыл бұрын
Thanks John I watched you a lot and your codes always work!
@Codemycom
@Codemycom 3 жыл бұрын
Glad to hear it!
@jeffdn1
@jeffdn1 Жыл бұрын
To avoid the console window from showing up, try the "--windowed" switch
@kuzco7061
@kuzco7061 Жыл бұрын
in which command should I add this?
@helloeveryone6614
@helloeveryone6614 Жыл бұрын
Thank you so much.
@Codemycom
@Codemycom Жыл бұрын
welcome!
@jaffedenaegel6430
@jaffedenaegel6430 3 жыл бұрын
I have found you need to have kivy installed properly, if you just imported it from python without doing anything in the command prompt it will not work (at least not for me, follow the first tutorial in the kivy series here), also, the python used in your command prompt can be different then the one in the python file itself, make sure its 3.9 or less, 3.10 currently doesn't work after 2 hours of fixing all the stuff and reinstalling python so i only have 3.9 on my computer since i cant find how to switch between versions on the internet it worked
@Codemycom
@Codemycom 3 жыл бұрын
Of course, you always have to install anything correctly.
@STARBASS-Thema
@STARBASS-Thema 3 ай бұрын
I have seen that you can't multiply two numbers like 3.5×4.4 or something like that can you please fix it or have I done a mistake in my code I don't know. The same by division two numbers like 8.1/5.3 doesn't work.
@Codemycom
@Codemycom 3 ай бұрын
use floats
@johnanderson3652
@johnanderson3652 3 жыл бұрын
The documentation for pyinstaller says that command line options should appear before the spec file. Like `pyinstaller -y calc.spec` rather than `pyinstaller calc.spec -y`. Is that a problem?
@Codemycom
@Codemycom 3 жыл бұрын
Does it seem to be? :-p
@alericktravel
@alericktravel 2 жыл бұрын
this is a the best video, it helped me much, thanks for sharing your knowledge. greetings from Ecuador
@Codemycom
@Codemycom 2 жыл бұрын
Thanks! Glad you liked it!
@hamzahassan6364
@hamzahassan6364 3 жыл бұрын
Is there any way to create an executable file for raspbian OS using Windows?
@Codemycom
@Codemycom 3 жыл бұрын
Probably but I don't know that
@aking9077
@aking9077 3 жыл бұрын
ModuleNotFoundError: No module named 'kivy_deps' yea so that error happened
@ghaithalshawabkeh5307
@ghaithalshawabkeh5307 3 жыл бұрын
Do u find the soluation?
@o.koldemir9457
@o.koldemir9457 3 жыл бұрын
@@ghaithalshawabkeh5307 Did you try to run as administration?
@paracetamol2020
@paracetamol2020 3 жыл бұрын
i guess never is too late to help someone, try "python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew" in cmd and retry
@shadocodes5040
@shadocodes5040 3 жыл бұрын
@@paracetamol2020 didnt work. said they were already installed and tried in administrator
@cwtiwari9242
@cwtiwari9242 4 жыл бұрын
Sir I am getting Failed to execute script error ?
@malcolmnooning2505
@malcolmnooning2505 4 жыл бұрын
I was having that problem, too. I think I have the solution but I am not sure why it is the solution. BTW: I was first getting the problem using the Windows command prompt, not Mingw. Python 3.8.6. with kivy version 2.0.0rc4. Up to now, everything worked perfectly in the Windows Command Prompt. I then switched to Mingw. Same problem. After some experimentation, I found that changing the calc.spec file worked in both Mingw and the Windows command prompt. In the spec file, change 'Code\calc.kv', to just 'calc.kv', as shown below. a.datas += [('Code\calc.kv', 'C:\\kivygui', 'DATA')] a.datas += [('calc.kv', 'C:\\kivygui', 'DATA')]
@monterkills
@monterkills 4 жыл бұрын
@@malcolmnooning2505 I believe I have fixed it, review my previous comment if necessary
@ki6fzb
@ki6fzb 3 жыл бұрын
@@monterkills How did you fix it?
@felliperibeiroteixeira
@felliperibeiroteixeira Жыл бұрын
I made an application and in windows it worked to create the executable, but in linux it gave an error in the kivy_deps sdl2 module, glew says that they do not exist
@erickedgardolandaverdealas2288
@erickedgardolandaverdealas2288 3 жыл бұрын
Good video this calculator works perfectly in my laptop and I want to take advantage of the oportunity to tell you that I tried to send the calculator.exe to some guys but the app just work with people who have python in their computers, otherwise the SO sent a fatal Error. In this case if I want to create a desktop apps with kivy, should I add the interpreter of python inside the calc directories in order people install python before executing the calc.exe, or What should I do instead ?
@__lasevix_
@__lasevix_ 2 жыл бұрын
most big applications written in python have their own version of it installed along their dependencies, I'm afraid you'll have to dig through the python docs about that. though I'd be interested if someone finds a way to circumvent this.
@andreabacoful
@andreabacoful 4 жыл бұрын
Fantastic and precise as always. One question: don't you ever have problems sharing the created .exe file due to the fact that most antivirus engines recognize it as malware? I have this problem with an app developed with tkinter. I have seen that it is a widespread problem
@Codemycom
@Codemycom 4 жыл бұрын
Yeah, that's a problem without a very good solution...unfortunately.
@__lasevix_
@__lasevix_ 2 жыл бұрын
you'd have to sign the file and get it into the official database for "safe files" of a few antivirus providers. otherwise, they'll check and see that the app isn't present on their list.
@nocopyrightgameplaystockvi231
@nocopyrightgameplaystockvi231 3 жыл бұрын
OK, it worked for me! But still, the part where a.data+=[(Code\calc.kv)].............., from where does this Code\calc.kv file comes from? I did the same with my setup (D:\export\TheLab.kv) and it worked. But don't know how!
@diegomendez8534
@diegomendez8534 2 жыл бұрын
So you just put the path again? Or how did you do it?
@taurohkea2169
@taurohkea2169 3 жыл бұрын
i did all of them but in the end it created a main file inside dist file. and there is a main.exe which is "Trojan:Win32/Wacatac.DC!ml" virus. how did i end up creating a virus?
@Codemycom
@Codemycom 3 жыл бұрын
You didn't. Antivirus usually flags software it doesn't recognize as potentially a virus. Since you just built it, it obviously wouldn't recognize it.
@taurohkea2169
@taurohkea2169 3 жыл бұрын
@@Codemycom thank you master! that explains :)
@ramankr0022
@ramankr0022 3 жыл бұрын
i have only 1 main.py file and i have integreted the kv file inside the main.py file plus i have two images in same directory/assets/images. do i need to add anything in the.spec file?
@sachinsinghal13
@sachinsinghal13 3 жыл бұрын
Hey John, Great amazing and helpful video so far thoughmy exe variable is different to your exe variable and I don't have a coll variable, instead I have a variable called app. exe = EXE(pyz, a.scripts, a.binaries, a.zipfiles, a.datas, [], name='simple_calc', debug=False, bootloader_ignore_signals=False, strip=False, upx=True, upx_exclude=[], runtime_tmpdir=None, console=False ) app = BUNDLE(exe, name='simple_calc.app', icon=None, bundle_identifier=None) How do I progress from here sir?
@NishanthAmbati
@NishanthAmbati 2 жыл бұрын
Hey John, your videos are really amazing. You are a great teacher. I've been following your playlist on python gui tutorial and really understanding how things work. I use linux operating system (ubuntu) and im not able to create a standalone python executable file for linux. Can you please help me with it?
@teslamodel314
@teslamodel314 3 жыл бұрын
Do I really need to send all the files to the user? What are the really necessary folders to send? Thanks!
@teslamodel314
@teslamodel314 3 жыл бұрын
I notice there is the source python file inside. Is it necessary to be there? What if I don't want to share the source code?
@amargluhic9026
@amargluhic9026 3 жыл бұрын
when you are converting it to an exe, add --onefile and you'll have a single python file in dist folder i think, correct me if im wrong
@teslamodel314
@teslamodel314 3 жыл бұрын
@@amargluhic9026 I heard that too, but the sir said that was a complex thing. I may try though, thanks.
@abdulbasitb8151
@abdulbasitb8151 3 жыл бұрын
The title says "standalone" but this video shows "sit-inside-zip-with-hundreds-of-files".
@Codemycom
@Codemycom 3 жыл бұрын
LOL the zip file is a single file. Did you really not understand that?
@zbyszeks3657
@zbyszeks3657 5 ай бұрын
Thank you. I repeated tutorial actions and got in in folder: C:\kivygui\calc\dist\calc only one exe file 'calc.exe' and a subfolder named ''_internal". Trying to run calc.exe I got error of lacking calc.kv. I copied calc.kv next to calc.exe and app runs as it should be.
@ShadyShadow92
@ShadyShadow92 Жыл бұрын
Dear John, perfect series!! But when i use pyinsyaller calc.spec -y i get an Error saying it may contain virusses or unwanted software. How to tackle this?
@Codemycom
@Codemycom Жыл бұрын
you can't...that's how all virus software handles all unknown softwares.
@NasrinAkter-kf5ne
@NasrinAkter-kf5ne 3 жыл бұрын
it gets error "failed to execute script due to unhandled exception:"NoneType" object has no attribute "size"""" how can i fix it?
@tahmidmahmud5013
@tahmidmahmud5013 4 жыл бұрын
Hello sir, I have tried to make this same exe but it shows me an AttributeError: "Nonetype object has no attribute size". I am currently using python 3.7.3 version. Please help me about my problem.
@Codemycom
@Codemycom 4 жыл бұрын
try updating to the latest version of python
@tahmidmahmud5013
@tahmidmahmud5013 4 жыл бұрын
@@Codemycom Ok sir. I will try and thanks for your reply.
@tesuji2000
@tesuji2000 4 жыл бұрын
I got through the creation of calc.exe but when I tried to run it, Windows said it contained a serious virus Trojan:Win32/FuerboosDict severe Any ideas ?
@Codemycom
@Codemycom 4 жыл бұрын
All antivirus flags all exe files that aren't registered with them...no matter what you used to build it.
@tesuji2000
@tesuji2000 4 жыл бұрын
@@Codemycom Thanks i solved the problem by reinstalling everything --- works just fine now. Appreciate your rapid reply. I really like kivy --- thanks for your great tutorials --- heading into Tut. #22
@ЕвгенийМарков-б4у
@ЕвгенийМарков-б4у 3 жыл бұрын
How can we make app for other OS? Thank you.
@abduksam
@abduksam 3 жыл бұрын
Other os you mean android and ios
@adamfatyga7977
@adamfatyga7977 2 жыл бұрын
Im try to make speedtest internet. I do everything from that video, but when i run .exe file i have an error " File "main.py", line 1, in import speedtest ModuleNotFoundError: No module named 'speedtest'"
@faizrehman9773
@faizrehman9773 4 жыл бұрын
Congratulations 🎉🎈👏 40k Subs
@Codemycom
@Codemycom 4 жыл бұрын
Thank you so much 😀
@idodahari6462
@idodahari6462 8 ай бұрын
hey I have a {module 'PyInstaller.depend.bindepend' has no attribute 'selectImports'} error. I can't solved it. someone know how can I fix it?
@MST-ul7ol
@MST-ul7ol 2 жыл бұрын
Can somebody help me? After everything when I click on the application file, cmd opens and then closes. The py file is running fine in the IDE
@teslamodel314
@teslamodel314 3 жыл бұрын
It creates almost a GB of file for a script that should be at least 50MB. Ho to select only the necessary files?
@priyamtiwari4805
@priyamtiwari4805 4 жыл бұрын
Can you do this using colab
@daggercentral9818
@daggercentral9818 3 жыл бұрын
pls suggest another way to do this because when the location of the folder is changed then it does not execute and give a fatal error, in simple words, it will not execute on my friend's computer
@bigbadcatbigbcy2933
@bigbadcatbigbcy2933 Жыл бұрын
It doesnt work on me any solutions? Error is: Traceback (most recent call last): File "logging\__init__.py", line 1113, in emit AttributeError: 'NoneType' object has no attribute 'write'
@MihamRahman
@MihamRahman Жыл бұрын
I am facing this error after doing all the operations above: "failed to execute script due to unhandled exception: maximum recursion depth exceeded". Can you tell me any solution or why I am seeing this?
@Codemycom
@Codemycom Жыл бұрын
No but I bet Google can
@MihamRahman
@MihamRahman Жыл бұрын
@@Codemycom 🥲
@afghanistaninternational9282
@afghanistaninternational9282 3 жыл бұрын
sir i got an error could you please help me? File "calc.spec", line 1, in from kivy_deps import sld2, glew ImportError: cannot import name 'sld2' from 'kivy_deps' (c:\users\
@mahmoudwatt5560
@mahmoudwatt5560 3 жыл бұрын
Instead of sld2, put sdl2
@ankitghosh8256
@ankitghosh8256 3 жыл бұрын
The kivy_deps not found on macos
@tech_developers885
@tech_developers885 3 жыл бұрын
How to add two images in specs file which is used in layout
@НикР-ь5ч
@НикР-ь5ч 4 жыл бұрын
Вот спасибо! Помог!
@99skorpion
@99skorpion 3 жыл бұрын
Does anybody have a solution for Windows Defender raising Trojan:Win32/Sabsik.TE.A!ml on exe files from pyinstaller?
@yossepbinyoum2181
@yossepbinyoum2181 2 жыл бұрын
Very nice Thank you john
@Codemycom
@Codemycom 2 жыл бұрын
welcome!
@andres154525452
@andres154525452 3 жыл бұрын
Would it crash if I placed it on the D: directory? 🤔
@Codemycom
@Codemycom 3 жыл бұрын
Only one way to find out...
@mileskdg
@mileskdg 3 жыл бұрын
Can someone help my dist file is empty
@codelery414
@codelery414 3 жыл бұрын
How do I do the same thing on Linux and run the application on Windows?
@trol5215
@trol5215 3 жыл бұрын
Try wine I guess? (Not the drink the Linux program btw)
@ramankr0022
@ramankr0022 3 жыл бұрын
9:18 im getting an error as No module named 'kivy_deps'
@DarkPlayerPL
@DarkPlayerPL 2 жыл бұрын
idk that it wil lhelp u, but in my case instead of sdl2 i typed sd12 and i was totally sure that it is correct, this 'l' looking like 1 in his terminal lol, anyway great tutorial love it
@BehruzbekOtayev
@BehruzbekOtayev 3 жыл бұрын
pyinstaller calc.spec -y command gives me the following error: 110 INFO: PyInstaller: 4.2 110 INFO: Python: 3.8.7 111 INFO: Platform: Windows-10-10.0.19041-SP0 116 INFO: UPX is not available. script '-' not found
@Codemycom
@Codemycom 3 жыл бұрын
likely a typo in the command you typed
@BehruzbekOtayev
@BehruzbekOtayev 3 жыл бұрын
@@Codemycom thanks for the reply. Turned out i didn't save the calc.spec file after editing it. Tried it several times, still didnt work out. Will try tomorrow. Thank you. You're awesome
@ahat130
@ahat130 Жыл бұрын
very helpful, the documentation for this is kinda confusing
@Codemycom
@Codemycom Жыл бұрын
It really is
@hiwab41
@hiwab41 4 жыл бұрын
How can we change the icon? , thank you
@MagicByIzzy
@MagicByIzzy 4 жыл бұрын
Use the --icon flag after -w and then type the path to your icon file which has to be .ico or .icns
@hiwab41
@hiwab41 4 жыл бұрын
@@MagicByIzzy ohh thanks
@MagicByIzzy
@MagicByIzzy 4 жыл бұрын
@@hiwab41 np happy to help
@pavlintsonev2718
@pavlintsonev2718 3 жыл бұрын
I am using conda and when I try to update spec file return me this error "ModuleNotFoundError: No module named 'kivy_deps'" does anybody can help me with this issue.
@Codemycom
@Codemycom 3 жыл бұрын
sorry I don't use conda
@VK-me8zu
@VK-me8zu 3 жыл бұрын
Try using native python..
@jubileem.sibandajubbs2175
@jubileem.sibandajubbs2175 2 жыл бұрын
guys, guys this guy is a Pro!!!!!
@ameykulkarni2277
@ameykulkarni2277 2 жыл бұрын
Sir how to make countdown timer for quiz using kivy..??
@Codemycom
@Codemycom 2 жыл бұрын
Check the playlist, I have a video on timers
@StereoWorld
@StereoWorld 3 жыл бұрын
walter white teaching coding
@Codemycom
@Codemycom 3 жыл бұрын
ha
@kebabsharif9627
@kebabsharif9627 3 жыл бұрын
Thank you very much !!please show us How to make an APK with py library such apyrebase ?
@epolanco11
@epolanco11 2 жыл бұрын
How Can I do that for Ubuntu ?
@zahabkhan6832
@zahabkhan6832 Жыл бұрын
my pathex is empty
@prajwalpant
@prajwalpant 3 жыл бұрын
and what about linux 😥😥 ???
@storageaccountiii8917
@storageaccountiii8917 3 жыл бұрын
Did anyone receive this error: File "calculator.spec", line 35 a.binaries, ^ SyntaxError: invalid syntax. John can you help me wit dis :S
@storageaccountiii8917
@storageaccountiii8917 3 жыл бұрын
I was using pycharm as always. Kivy module is installed within Pycharm but I had to download it from pycharm local terminal. Now it works.
@mileskdg
@mileskdg 3 жыл бұрын
Yes if your using your c directory like this 'C:\User...' then you need to the letter 'r' before adding the url like this: r'C:\User...' and so forth.
@storageaccountiii8917
@storageaccountiii8917 3 жыл бұрын
@@mileskdg I did not know that. Thanks lumur. You are my hero.
@livioalvarenga9481
@livioalvarenga9481 3 жыл бұрын
Hello, Can you help me? File "codemy_12_Calculadora.spec", line 24 a.datas += [('code'\codemy_12_Calculadora.kv, 'C:\\Users\\Avell\\OneDrive\\Cursos\\Biblioteca_Conhecimento\\_Programação_Biblioteca\\Python\\Kivy\\EXE_calculadora\codemy_12_Calculadora.kv', 'DATA')] ^ SyntaxError: unexpected character after line continuation character
@marie-pierneault1035
@marie-pierneault1035 9 ай бұрын
_Programação?
@tahmidhassanbarbhuiya
@tahmidhassanbarbhuiya 3 жыл бұрын
Why does my exe file in cmd
@pverprogramz641
@pverprogramz641 3 жыл бұрын
Hi John !! I have converted my python file into exe... I lost my py file but I have the exe, is there a way to convert it back to py file ?? 🤔 (Not related to kivy)
@Codemycom
@Codemycom 3 жыл бұрын
No. You didn't lose it...it's still in the original place on your computer.
@pverprogramz641
@pverprogramz641 3 жыл бұрын
@@Codemycom no, the conversion didnt affect the file... i deleted the py file by accident and i want to have it back.... if i could convert the exe to py it would be very helpful... :-)
@Codemycom
@Codemycom 3 жыл бұрын
@@pverprogramz641 No, sorry. Check your computer trash bin/ Recycle Bin. If you're using Windows, it should be there.
@Sanatjha4
@Sanatjha4 3 жыл бұрын
how to make a apk of this same?
@KendaBeatMaker
@KendaBeatMaker 2 жыл бұрын
This worked
@akarshgupta2586
@akarshgupta2586 3 жыл бұрын
I get a permission error how do i handle this?
@marie-pierneault1035
@marie-pierneault1035 9 ай бұрын
I get the same error😪 , did you find the problem?
@marie-pierneault1035
@marie-pierneault1035 9 ай бұрын
Oh! I fount out that the .exe file was open. That's why it couldn't overwrite it. Now I have this issue😅: Traceback (most recent call last): File "main.py", line 13, in Builder.load_file("calc.kv") File "kivy\lang\builder.py", line 308, in load_file FileNotFoundError: [Errno 2] No such file or directory: 'calc.kv'😪
@deki90to
@deki90to 4 жыл бұрын
$ pyinstaller calc.spec -y 122 INFO: PyInstaller: 4.1 122 INFO: Python: 3.7.6 124 INFO: Platform: Windows-10-10.0.19041-SP0 127 INFO: UPX is not available. spec "calc.spec" not found But there is calc.spec file, weird
@VK-me8zu
@VK-me8zu 3 жыл бұрын
u might have not changed the directory in the terminal
@dheerajd9965
@dheerajd9965 4 жыл бұрын
Sir can you make a video on navigation bar
@Codemycom
@Codemycom 4 жыл бұрын
Sure
@lasindukashmira7272
@lasindukashmira7272 4 жыл бұрын
Sir , why my dist folder is emty
@Codemycom
@Codemycom 4 жыл бұрын
No clue...did you do something differently?
@deki90to
@deki90to 4 жыл бұрын
mine is too, but you have another dist folder inside calc folder
@AR-mk3ks
@AR-mk3ks 4 жыл бұрын
so when you will make apk app one android and one question I can make an app in kivy and upload on google play and get money if yes can you make a video?
@prajwalpant
@prajwalpant 3 жыл бұрын
Please help me do this using linux .
@learnwithnawf246
@learnwithnawf246 3 жыл бұрын
Can I run this exe file on Android?
@Codemycom
@Codemycom 3 жыл бұрын
No, the process is different for Android
@learnwithnawf246
@learnwithnawf246 3 жыл бұрын
@@Codemycom will you make a video on that please....?
@Codemycom
@Codemycom 3 жыл бұрын
@@learnwithnawf246 someday
@learnwithnawf246
@learnwithnawf246 3 жыл бұрын
@@Codemycom hope you'll make it ☺️☺️
@paulushimawan5196
@paulushimawan5196 2 жыл бұрын
Spent almost 1 hour to find out what's going wrong, turns out that I wrote Tree as TREE..... Make sure you do everything carefully, otherwise it won't work at all. And don't give up!!!
@Codemycom
@Codemycom 2 жыл бұрын
ha!
@the-code-provider
@the-code-provider Жыл бұрын
I perfectly followed the steps, my app is still crashing... :(
@Codemycom
@Codemycom Жыл бұрын
Then no, you absolutely did not perfectly follow the steps…
@the-code-provider
@the-code-provider Жыл бұрын
@@Codemycom Unfortunately I did, I watched your video several times since more than 1 hour and it didn't works, your video is three years old, maybe it's obsolete, thanks anyway
@the-code-provider
@the-code-provider Жыл бұрын
Everytime I launch my .exe file, I have a recursion error and the app is crashing : Traceback (most recent call last): File "logging\__init__.py", line 1113, in emit AttributeError: 'NoneType' object has no attribute 'write' My app works well when I execute it from Visual Studio Code or PyCharm.
@Codemycom
@Codemycom Жыл бұрын
@@the-code-provider no you didn’t. The video isn’t obsolete. This isn’t voodoo, it doesn’t work for some people and not for others. You.did.something.wrong.
@the-code-provider
@the-code-provider Жыл бұрын
@@Codemycom No no, I just strictly followed all your steps from the beginning and it's don't work. That's all :-)
@boblittle2529
@boblittle2529 5 ай бұрын
Cool. 'Course it does nothing for me since I'm on Linux. But very interesting regardless.
@Codemycom
@Codemycom 5 ай бұрын
yep
@andres154525452
@andres154525452 3 жыл бұрын
Though that you over explained the simple stuff and missed out to explain the complicated ones, like the doble \\, what were those files you imported.... But it was ok nonetheless
@tahmidhassanbarbhuiya
@tahmidhassanbarbhuiya 3 жыл бұрын
this is not working
@Codemycom
@Codemycom 3 жыл бұрын
what did you do differently from the video?
@EthioWonder
@EthioWonder 3 жыл бұрын
i made it for android easily u can contact me i try over 20 time but after that i do it success fully
@redwanrifat6084
@redwanrifat6084 2 жыл бұрын
Hey can u please tell me how to convert it into android app
@chesslife2345
@chesslife2345 2 жыл бұрын
Exe stand alone. auto-py-exe
@savithnishitha5562
@savithnishitha5562 4 жыл бұрын
hi
@Codemycom
@Codemycom 4 жыл бұрын
hi
@shobinb4493
@shobinb4493 Жыл бұрын
Hi, I tried to create exe from my python kivy code and i can able to create exe with console(means console also opening parallely). So what i need is without console the exe should work. But when i try the command --noconsole or --w or --windowed these commands i am facing error. Please help me here. The below commands i tried, > pyinstaller --onefile --noconsole --add-data=SystemsEOL_.kv;. --add-data=EmersonAPI.py;. --add-data=hpxlogo.jpg;. --add-data=i_o.png;. --add-data=PV.jpg;. --add-data=run_test.jpg;. --add-data=units.csv;. Main.py then in Main.spec file added below things, from kivy_deps import sdl2, glew exe = EXE( pyz, a.scripts, a.binaries, a.zipfiles, a.datas, *[Tree(p) for p in (sdl2.dep_bins + glew.dep_bins)], [], >pyinstaller --clean "Main.spec" But still facing the issue. I was trying this for long time unable to resolve till now please help.
@collinsalomon
@collinsalomon Жыл бұрын
i have the same problème...
@SanjayKumar_optimist
@SanjayKumar_optimist 3 жыл бұрын
What if I am uaing sqlite database, how can I include that in?
@dikshazutshi5530
@dikshazutshi5530 Жыл бұрын
Hey, how to include a json in spec file?
@amindusasanka952
@amindusasanka952 3 жыл бұрын
How to do this when kv file contain kivyMD items??
@drcgaming4195
@drcgaming4195 3 жыл бұрын
any updates to this?
@Surzom
@Surzom 2 жыл бұрын
didnt work
@hosam44244
@hosam44244 Жыл бұрын
I got exception : maximum recursion depth exceeded while calling a python project, what's the solution for this?
@pro_fessor.
@pro_fessor. 11 ай бұрын
Have you find the solution.?
Kivy 2.0 Released! How To Install - Python Kivy GUI Tutorial #21
10:56
Convert GUI App to Real Program -  Python to exe to setup wizard
23:27
Python Simplified
Рет қаралды 553 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 33 МЛН
The most important Python script I ever wrote
19:58
John Watson Rooney
Рет қаралды 210 М.
Convert Tkinter Python App to Executable (.Exe) File [pyinstaller]
9:11
Code First with Hala
Рет қаралды 163 М.
Convert py to exe - from code to software
5:55
Python Simplified
Рет қаралды 482 М.
Intro To KivyMD Installation - Python Kivy GUI Tutorial #40
16:02
Create Stunning Python GUIs in 10 Minutes With Drag & Drop
11:38
Coding Is Fun
Рет қаралды 99 М.
Spell Checker With Kivy - Python Kivy GUI Tutorial #24
11:45
Codemy.com
Рет қаралды 14 М.