How to Easily Convert Any Python File (.PY) to .EXE

preview_player
Показать описание
In this tutorial I'll show you how to easily convert your Python script (.py) into an executable file (.exe). The first way is using auto-py-to-exe and the second is PyInstaller.

--------------------
Content:
0:00 Intro
0:24 Option 1: auto-py-to-exe
1:30 Locate Python Script
2:33 Select "One directory" or "One file"
3:14 Show Console/Window
3:49 Advanced
4:48 Settings (Output Directory)
5:15 Convert .py to .exe
6:15 Option 2: pyinstaller
Рекомендации по теме
Комментарии
Автор

Nice video bruv. I love the way you explain the whole thing. Love you so much UwU

theskykitty
Автор

Thanks a lot! I was trying to somehow solve problem with pyinstaller but then I saw Your video with another option.

Lightwere
Автор

Worked Great on latest version thus far!

frostknight
Автор

excellent tutorial
if the "auto-py-to-exe" command doesn't work just scroll to the comment where the issue was solved

paolobena
Автор

hello Frank.

Could you explain how to do using Python 3.10. The pyinstaller has bug on this version and this auto-py-to-exe can't run on windows (may I did something wrong). thanks in advance

jeffersonmendes
Автор

Hello Frank, You made a great video. I need your help. Can you share your code file or suggest me any tutorials I also have some excel files as a database but I don't know how to set them up before creating a .exe file. Also, I have one excel file for the output script will generate. Please guide me. Thanks!

ansjaved
Автор

If you guys need to change the application path. I did this and it works

application_path = + "/NameOfFile.csv"

df = pd.read_csv(application_path)

moritzklug
Автор

when i open the exe it says Traceback (most recent call last):
File "main.py", line 2, in <module>
ModuleNotFoundError: No module named 'PyQt5'

interzy
Автор

I keep getting this error everytime I run pyinstaller and auto-py-to-exe even though I installed all libraries and modules

'auto-py-to-exe' is not recognized as an internal or external command,
operable program or batch file.

pip list:
auto-py-to-exe 2.10.1
pyinstaller 4.5.1
pyinstaller-hooks-contrib 2021.3

haaaaaaaaaaaaaaaaaaahaaaaa
Автор

greate explanation boy, but i was trying to conver a py project file in venv. every library is installed properly and when i run on pycharm it works but when i try to convert it to .exe file i throws many exception and other errors that i can't solve can any body help me here pls?

SimpleHak
Автор

when opening the .exe file i am getting this error: ‘The application has failed to start because its side-by-side configuration is incorrect’. Any ideas how to fix it?

maxwelltriestodev
Автор

Is it possible for the user (client) that opens the .exe file to input data into it that is then used by the python code and then gives a result?

HBMetal
Автор

I am getting message like this "return _bootstrap._gcd_import(name[level:], package, level)
File "src/gevent/_hub_local.py", line 1, in init gevent._gevent_c_hub_local
ValueError: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 152 from C header, got 40 from PyObject". Not sure how to solve.

khanalimphdpe
Автор

ive tried to follow the video countless times and all it says when i try to open this auto-py-to-exe thing its saying it doesn't exist please help as soon as possible.

tastybanana
Автор

I am using MAC. I can install auto-py-to-exe. But I can not run auto-py-to-exe. I am not understanding why?

khanalimphdpe
Автор

The command "pip install auto-py-to-exe" is not recognized, I'm on Windows 11 Home x64.🤔

Itzhak_Hasson
Автор

'auto-py-to-exe' is not recognized as an internal or external command,
operable program or batch file. Help please

da-biggest-manz
Автор

Frank great video, I have a problem when a make on exe file, in a work enviroment I can't make that the program use the librarys that I used in the project, so the exe file don't work. What can I do ?

elricho
Автор

for me its saying IndexError: tuple index out of range can someone help?

realyungbeatz
Автор

Hi
My 70+ old dad started to do some programming in python. Now he would like to convert a .pay script to .exe but the .exe file disappears from the computer. Does anybody have an idea what the problem might be???
Thanks

edurd