How to Convert a Python File to .EXE

preview_player
Показать описание
In this video I am going to show you how to convert a python script, a game or a program, into a standalone executable file that will be easy to share with your friends or customers. The procedure is very easy, so let’s start!

For this we are going to use pyinstaller. PyInstaller is a program that converts Python programs into stand-alone executables, under Windows, Linux, and Mac OS. Pyinstaller is very easy to use, and the program turns our code into a single file, which is convenient for distribution.

Рекомендации по теме
Комментарии
Автор

its saying the comand pyinstaller is not reconised

minionsmemesongs
Автор

Great video! Exactly what I needed and no messing around or padding out for runtime, straight and to the point! Thank you so much!

Copppopop
Автор

Wow! I spent hours trying to get this to work and it only took 5 minutes following along with you. Thank you, Nick.

novicetech
Автор

Bro you saved my life life tommorow is my presentation and I wasn't finding any solution to convert .py into .exe.Thank you very very very much.May God bless you for these good deeds of yours.

yourmarketingbro
Автор

i was using multiple libraries like custom Tkinter and pillow but, when i convert it to .exe, it doesn't locate the library. can you help me ? thanks

NoobStuff
Автор

Hi Nick,
thanks for the video, I followed all the steps, but I am getting " PermissionError: [Errno 13] Permission denied:"
did run cmd as admin, and I have full right (full control/modify, read, write...) over the folder where my .py file is located.
any idea?
thanks

aliakbarakbari
Автор

BRO I FUCKING LOVE YIU, YOU FIXED MY PROBLEM, I WAS TRYING FOR OVER 2 DAYS, THANKYOU BRO

puranjayraikwar
Автор

python -m PyInstaller that code can also work ps thanks for the fid do u know how u can make it so someone with a mac can also open it ?

minionsmemesongs
Автор

Great video as always 👍
Good walk-through of the process
Thanks for sharing your expirence with all of us 👍 😀

avejst
Автор

nice background man, it brings the childhood memories

Best_Real_Experience
Автор

when I went to "pip install pyi" with CMD
it says "pip is not a recognized as an internal or external command..."
I think you missed some steps!

AlastairGames
Автор

Sir how to make executable if I have some dependencies like pandas, face recognition etc ?

zidaanahmad_
Автор

'pyinstaller' is not recognized as an internal or external command,
operable program or batch file. ! What to doo!

QuransGems-zdjd
Автор

Nice vid i didn't think this would work but you earned a sub

bluenoob
Автор

Mine doesn't work. I coded a small 1 kilobyte python source code with the modules turtle, random, and time. When I follow the tutorial very carefully, it tells me that pyinstaller wasn't found. I installed pyinstaller. Do you think there is a way to fix this?

briangoodman
Автор

It gives me errors that look like this:
3407 WARNING: Library not found: could not resolve 'api-ms-win-crt'
And when I open the exe file it closes immediately

lillii
Автор

how can we change the logo of exe file

justkidding-
Автор

The converting steps take a long time more non stope converting time do you have a solution

abdallahmali
Автор

Thankyou Nick, that was great.
Now how long have I been using windows and typed cmd after clicking the start button then navigating to the folder, OMG, slap myself on the head, typing it in the navigation bar is new to me ha-ha, thank you for that tip also.

Tims_Projects
Автор

I love the work you did. I have an issue i cant open the dist file even after converting from python file to .exe why is that happening please

exro