How to Convert a Python File to .EXE

  Рет қаралды 70,936

Programming With Nick

Programming With Nick

Күн бұрын

Пікірлер: 114
@programmingwithnick
@programmingwithnick Жыл бұрын
I hope you took away lots from this video. Let me know below! PS: I created a course named "Object Oriented Programming Made Easy"! Sign up at bit.ly/3NaMfg4 Enroll now.
@Lurkingbird
@Lurkingbird Жыл бұрын
bro i installed pyinstaller by typing "pip install pyinstaller" but when I try to use it it says pyinstaller not recegonised
@yourmarketingbro
@yourmarketingbro 5 ай бұрын
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.
@Captainspark05
@Captainspark05 Ай бұрын
no the literal fuck u were not
@vulture_6x
@vulture_6x 17 күн бұрын
ermmm, I don't think you are trying to present a presentation
@Captainspark05
@Captainspark05 16 күн бұрын
@vulture_6x 🤣
@julo18114
@julo18114 6 күн бұрын
​@vulture_6x Who are you to judge? Were you there?
@vulture_6x
@vulture_6x 2 күн бұрын
@@julo18114 It’s a joke dawg you don’t have to be so salty about it 😉
@novicetech1
@novicetech1 10 ай бұрын
Wow! I spent hours trying to get this to work and it only took 5 minutes following along with you. Thank you, Nick.
@iciclesteve6464
@iciclesteve6464 6 ай бұрын
real
@AlastairGames
@AlastairGames Жыл бұрын
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!
@Linexioo
@Linexioo 11 ай бұрын
so install modules u need to open ur python folder and go to propertys on ur python version and then u cope every thing behind python .exe so for me it would be "C:\Users\aaaaaaap\AppData\Local\Programs\Python\Python310\ then u open cmd as admin and do cd ur thing you just copied then u do cd scripts and pip install from there
@hasthij2835
@hasthij2835 8 ай бұрын
Use code: py -m pip install pyi . this worked for me
@XtecherPY
@XtecherPY 3 ай бұрын
pip is not a command itself its attached to python real command would be "python3 -m pip install pyi"
@Copppopop
@Copppopop Жыл бұрын
Great video! Exactly what I needed and no messing around or padding out for runtime, straight and to the point! Thank you so much!
@programmingwithnick
@programmingwithnick Жыл бұрын
I am glad it was helpful!
@minionsmemesongs4146
@minionsmemesongs4146 7 ай бұрын
its saying the comand pyinstaller is not reconised
@C_a_p_p_l_e
@C_a_p_p_l_e 4 ай бұрын
same
@gamingplayinglearing
@gamingplayinglearing 4 ай бұрын
same
@C_a_p_p_l_e
@C_a_p_p_l_e 4 ай бұрын
@@gamingplayinglearing i found a better tut: kzbin.info/www/bejne/rnukfmuVgd1oo7s
@Hellhorde.
@Hellhorde. 4 ай бұрын
same
@Hellhorde.
@Hellhorde. 4 ай бұрын
GOT IT GUYS run this in CMD first. py -m pip install pyinstaller then do as he says, just follow along exactly as he says. if it is still not working reinstall python and make sure pip is checked and the other needed options.
@zurcloveslocking
@zurcloveslocking 2 жыл бұрын
pyinstaller is not recognized as an internal or external command do you know how to fix this issue?
@mikhailwebb8377
@mikhailwebb8377 Жыл бұрын
Unfortunately it cant be fixed. The Python Community has not solved this issue as yet. And the videos online claiming that they've fixed it are lying for views.
@metasploitness1927
@metasploitness1927 11 ай бұрын
How to Solve: 'pip' is not recognized as internal or external. 1. My computer > Right Click > Properties 2. Advanced System Configurations 3. Environment Variables 4. Select the "Path" variable and click "Edit" 5. Select "New" and paste the folder path for the python "scripts" folder (In my case, the folder is located in: C:\Users\MC Don Juan\AppData\Local\Programs\Python\Python311\Scripts) 6. After that, click "OK" and "OK" 7. Go to the cmd and type pip install pyinstaller and everything should work correctly now.@@mikhailwebb8377
@ruiliang6819
@ruiliang6819 7 ай бұрын
pip install it
@BlackFenix-jz5rs
@BlackFenix-jz5rs 6 ай бұрын
​@@ruiliang6819yeah, that doesnt work
@leonytgames
@leonytgames 6 ай бұрын
@@ruiliang6819 well it is installed thats my problem here
@Pigster700
@Pigster700 3 ай бұрын
" 'pyinstaller' is not recognized as an internal or external command, operable program or batch file. " Please help.
@rensius4988
@rensius4988 3 ай бұрын
same
@holy_cheese_man
@holy_cheese_man 3 ай бұрын
cant fix either
@dajidon805
@dajidon805 2 ай бұрын
1 ) click On Windows, search for "Environment Variables" in the Start menu and click on "Edit the system environment variables". Click on the "Environment Variables" button. 2)In the "User variables" section, find the Path variable and select it. Click on "Edit". 3)Click "New" and paste the following path "C:\Users\kakois\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\Scripts" Click "OK" to save the changes. 4)Close and reopen your terminal (Command Prompt or PowerShell) for the changes to take effect. and don't forget to delete pyinstaller by pressings pip uninstall pyinstaller and download it again it works thanks
@somethingoofty5660
@somethingoofty5660 2 ай бұрын
add to path
@masterblaster9925
@masterblaster9925 2 ай бұрын
same
@briangoodman9344
@briangoodman9344 2 жыл бұрын
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?
@programmingwithnick
@programmingwithnick 2 жыл бұрын
Your computer does not know where to find the pyinstaller executable. Check this to see if any of the solutions do the trick for you: stackoverflow.com/questions/45951964/pyinstaller-is-not-recognized-as-internal-or-external-command?noredirect=1&lq=1
@EJJ509
@EJJ509 3 ай бұрын
@@programmingwithnick Thanks!
@Hexastroyer
@Hexastroyer 7 ай бұрын
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
@FunnehmeGames
@FunnehmeGames 4 ай бұрын
'pyinstaller' is not recognized as an internal or external command, operable program or batch file. and i know it was succefully installed using --version
@lillii9119
@lillii9119 Жыл бұрын
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
@praveendesu
@praveendesu 2 жыл бұрын
I installed pyinstaller successfully, but I'm getting this error when trying to convert a python file to .exe. Please help. 'pyinstaller' is not recognized as an internal or external command, operable program or batch file.
@momentx282
@momentx282 Жыл бұрын
same here
@0x_jstinFN
@0x_jstinFN Жыл бұрын
add the path were all your python scripts are as environmental variables
@metasploitness1927
@metasploitness1927 11 ай бұрын
How to Solve: 'pip' is not recognized as internal or external. 1. My computer > Right Click > Properties 2. Advanced System Configurations 3. Environment Variables 4. Select the "Path" variable and click "Edit" 5. Select "New" and paste the folder path for the python "scripts" folder (In my case, the folder is located in: C:\Users\MC Don Juan\AppData\Local\Programs\Python\Python311\Scripts) 6. After that, click "OK" and "OK" 7. Go to the cmd and type pip install pyinstaller and everything should work correctly now.
@Pigster700
@Pigster700 3 ай бұрын
@@metasploitness1927 litteraly no one asked for this this is about pyinstaller
@usmanumer9871
@usmanumer9871 Ай бұрын
at 1:46 i stuck . it cant recognize my file . i m using thonny ide
@bluenoob4078
@bluenoob4078 Жыл бұрын
Nice vid i didn't think this would work but you earned a sub
@programmingwithnick
@programmingwithnick Жыл бұрын
Glad I could help
@minionsmemesongs4146
@minionsmemesongs4146 7 ай бұрын
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 ?
@aliakbarakbari3802
@aliakbarakbari3802 Жыл бұрын
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
@trr3576
@trr3576 Ай бұрын
wow you are the guy I learned ardino from! nice videos thanks
@oldfoxtrap31311
@oldfoxtrap31311 4 ай бұрын
All programming languages ​​contain a command to create an executable file. Why does Python not have this command? Is there a deficiency in the program?
@QuransGems-zd1jd
@QuransGems-zd1jd 6 ай бұрын
'pyinstaller' is not recognized as an internal or external command, operable program or batch file. ! What to doo!
@SimTekGameDevelopment
@SimTekGameDevelopment 5 ай бұрын
That was an excellent video!
@Tims_Projects
@Tims_Projects 2 жыл бұрын
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.
@programmingwithnick
@programmingwithnick 2 жыл бұрын
Glad it helped!
@exro2166
@exro2166 Жыл бұрын
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
@Mos_RC_Planes
@Mos_RC_Planes Ай бұрын
broooooo when i type pip install pyinstaller it doesnt work, it says that there is a mistake or i have wrote it wrong, plss help
@Alpha-fc3bo
@Alpha-fc3bo Ай бұрын
hey run this (python -m PyInstaller yourfile.py) - replace "yourfile.y" with your file. This is the fix!
@vegaselements
@vegaselements 2 жыл бұрын
Thanks for you... I have questions... After make it the file not work ... massage no module named talib.abstract While the file is working normally within the working environment pycharm
@programmingwithnick
@programmingwithnick 2 жыл бұрын
I don't know what went wrong in your case. I found a similar case when searching online: stackoverflow.com/questions/67675751/i-am-getting-failed-to-execute-script-main-when-i-double-click-on-the-exe-file I don't know if it helps.
@programmingwithnick
@programmingwithnick 2 жыл бұрын
and this: stackoverflow.com/questions/56088674/modulenotfound-error-while-executing-a-package-created-by-pyinstaller-on-windows?rq=1
@vegaselements
@vegaselements 2 жыл бұрын
Thanks pro .. i will try
@s2flyiscool2
@s2flyiscool2 3 ай бұрын
'pyisntaller' is not recognized as an internal or external command, operable program or batch file.
@RonalRomeroVergel
@RonalRomeroVergel Жыл бұрын
doesn't work bro... can you help me?
@milan957
@milan957 Жыл бұрын
Very useful and detailful. Thank you!
@Maxib226
@Maxib226 2 ай бұрын
ummmmmmmmmmm my program says import error bc it can't find the external libs
@juanm3058
@juanm3058 3 ай бұрын
it works super well thank you so much!
@zidaanahmad_
@zidaanahmad_ Жыл бұрын
Sir how to make executable if I have some dependencies like pandas, face recognition etc ?
@BitsNBytes_
@BitsNBytes_ 2 жыл бұрын
If I may ask, can I get your Desktop background, I hella like it!
@programmingwithnick
@programmingwithnick 2 жыл бұрын
Sure, here it is: gr.pinterest.com/pin/15199717481111447/
@aryelpanda
@aryelpanda 7 ай бұрын
can you do a video on how to do this but with c++ and raylib?
@avejst
@avejst 2 жыл бұрын
Great video as always 👍 Good walk-through of the process Thanks for sharing your expirence with all of us 👍 😀
@programmingwithnick
@programmingwithnick 2 жыл бұрын
My pleasure!
@Cc99X_YT
@Cc99X_YT 3 ай бұрын
Why not just use a .pyw file so that the console doesn't show up instead?
@justkidding-2023
@justkidding-2023 8 ай бұрын
how can we change the logo of exe file
@basry87878
@basry87878 5 ай бұрын
i created the .exe file but the program isn't being executed suceesfully
@Abdallah-Mohamed-Ali
@Abdallah-Mohamed-Ali 10 ай бұрын
The converting steps take a long time more non stope converting time do you have a solution
@monnichoudhory4406
@monnichoudhory4406 2 жыл бұрын
Keep going brother.
@programmingwithnick
@programmingwithnick 2 жыл бұрын
Thank you, I will
@metasploitness1927
@metasploitness1927 11 ай бұрын
How to Solve: 'pip' is not recognized as internal or external. 1. My computer > Right Click > Properties 2. Advanced System Configurations 3. Environment Variables 4. Select the "Path" variable and click "Edit" 5. Select "New" and paste the folder path for the python "scripts" folder (In my case, the folder is located in: C:\Users\MC Don Juan\AppData\Local\Programs\Python\Python311\Scripts) 6. After that, click "OK" and "OK" 7. Go to the cmd and type pip install pyinstaller and everything should work correctly now.
@programmingwithnick
@programmingwithnick 11 ай бұрын
Thanks for this helpful comment!
@Chavo1991
@Chavo1991 10 ай бұрын
did'nt worked
@namedontknow9377
@namedontknow9377 Жыл бұрын
amaizing😍
@apo_0884
@apo_0884 4 ай бұрын
Ωραίος!
@puranjayraikwar4235
@puranjayraikwar4235 6 ай бұрын
BRO I FUCKING LOVE YIU, YOU FIXED MY PROBLEM, I WAS TRYING FOR OVER 2 DAYS, THANKYOU BRO
@totalblade5864
@totalblade5864 6 ай бұрын
what the fuck
@razarajpoot9811
@razarajpoot9811 2 жыл бұрын
ohh such a great and easy explaination. Very amazing, like and sub done🥰
@programmingwithnick
@programmingwithnick 2 жыл бұрын
Thank you so much 🤗
@aquaslegocreation9209
@aquaslegocreation9209 9 ай бұрын
my exe file close automatically please help me sir
@ΔημήτρηςΣτεργίου-μ4κ
@ΔημήτρηςΣτεργίου-μ4κ 7 ай бұрын
Your code has error
@EliseyzScripts
@EliseyzScripts 9 ай бұрын
Thank you very much!
@chatgptowner
@chatgptowner 7 ай бұрын
You are so good
@Alexandros.Deligiannis
@Alexandros.Deligiannis 2 жыл бұрын
Καλησπέρα σας, είναι φανταστικά και με μεγάλο ενδιαφέρον τα βίντεο που ανεβάζετε!!! Ειδικά αυτά με το arduino στο άλλο κανάλι που έχετε. Υπάρχει τρόπος να επικοινωνήσουμε μαζί σας?
@programmingwithnick
@programmingwithnick 2 жыл бұрын
Ευχαριστώ πολύ για τα καλά σας λόγια!
@venkatyalamati3285
@venkatyalamati3285 9 ай бұрын
Thank you!!!
@ArcticHorizon
@ArcticHorizon 7 ай бұрын
I don't understand anymore I just want to upload my shit to github to document my progress learning python how the fuck do I get pip what are these commands where do I put them I don't get it anymore
@Alex-kr1ns
@Alex-kr1ns 6 ай бұрын
Just breath, lol. If you haven't figured it out yet, you have to add the directory for pip in the pc properties options. Look up in the cortana search bar "environment variables", go down to system variables, new, and add the scripts folder for your python directory which is usually in C:\Users\x\Appdata\Local\Programs\Python\Python311\Scripts. Restart your pc and cmd is able to access the pip command.
@uoyOS
@uoyOS 7 ай бұрын
it didnt work
@marios_118
@marios_118 2 жыл бұрын
emm nice job! telios
@orthodoxia32
@orthodoxia32 Жыл бұрын
εισαι ελληνασ σωστα?
@programmingwithnick
@programmingwithnick Жыл бұрын
σωστά
@vic.1
@vic.1 Жыл бұрын
thank you so much
@zoranzoki5652
@zoranzoki5652 Жыл бұрын
it does not work
@andreallifevideostoo
@andreallifevideostoo Ай бұрын
I Don't Think It Works Anymore.. Or Should I Say, print ("I Don't Think It Works Anymore..")
@thesciencedude1900
@thesciencedude1900 5 ай бұрын
Pyinstaller gave me a Trojan according to Windows defender. So yeah, be carefull
@MiniSquid208
@MiniSquid208 Ай бұрын
'pyinstaller' is not recognized as an internal or external command, operable program or batch file.
@jacobingle4843
@jacobingle4843 5 ай бұрын
thank you so much!
Python py to exe 🏃
3:43
Bro Code
Рет қаралды 91 М.
How to Install Android Studio and NDK (2024)
7:18
Programming With Nick
Рет қаралды 1 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
How to Print in Excel | Print Page Setup in Excel
11:47
How to Convert Any Python File to .exe? | GeeksforGeeks
10:53
GeeksforGeeks
Рет қаралды 48 М.
Convert py to exe - from code to software
5:55
Python Simplified
Рет қаралды 483 М.
Auto-Py-To-Exe Tutorial - Converting Python Programs to EXE's
18:50
EECS3311 - Assignment 2 demo
6:03
dohuynhnam
Рет қаралды 6
Convert Tkinter Python App to Executable (.Exe) File [pyinstaller]
9:11
Code First with Hala
Рет қаралды 165 М.
The New Python Based Language
5:56
ThePrimeTime
Рет қаралды 148 М.
Export Python pygame Game to Web with WebAssembly (pygbag tutorial)
7:07
Programming With Nick
Рет қаралды 29 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН