How to convert this file to executable (.exe) file
Sir, I have made this project by seeing your course on Udemy, but now I have to make it portable file i.e. .exe file by which we can install it on different computers. Please show me how to convert this project to .exe so that I test it in a different machines. Thank you
Hi sudhanshujain2490,
So what you can do is this -- 5 STEP PROCESS:
- Open CMD and do
pip install pyinstaller - Go to the directory where u have your python files and main file and open CMD in that dir
- Then type the following ->
pyinstaller --onefile -w <name_of_file.py> - Now this process creates new folders and files like -
dist, build foldersand a file likename_of_file.spec - Now delete the
build folderno need of that, and also thename_of_file.specfile.
The folder of use is dist, this has your executable. 😄
If you do this you should have your executable! 💯 👍
Sir, I have made this project by seeing your course on Udemy, but now I have to make it portable file i.e. .exe file by which we can install it on different computers. Please show me how to convert this project to .exe so that I test it in a different machines. Thank you
I hope my response resolves your issue.

When I run the command i.e. pip install pyinstaller, it shows this error. Then I try to install pip install PEP517 and again try but got the same result. Please help me out.
pip -V in cmd what do u get?
I did what I mentioned before, no issues what so ever for me. I think u may have messed up pip/python installation
You Will Need Visual Studio