Тёмный

Python GUI to .exe using Pyinstaller and Virtualenv | Prof. Shiburaj 

Code with Shibu
Подписаться 695
Просмотров 14 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@wolfaxe123
@wolfaxe123 Год назад
Thank you so much! I had been having troubles getting this to work and include all of the correct modules. Very well explained video!
@br317n3r
@br317n3r Год назад
Thankyou, clear and easy to follow.
@TheFazilaashraf
@TheFazilaashraf 2 года назад
Crystal clear. Thankyou so much!
@johnsaw9076
@johnsaw9076 3 года назад
Very clear and easy to follow, keep up the good work. Thank you very much.
@GuilhermeDiGiorgi
@GuilhermeDiGiorgi 2 года назад
Thank you man, very good, very easy to follow guide
@rachanashree_
@rachanashree_ 2 года назад
Very helpfull, but had one doubt I am executing the shared venv build and when I activate the venv and try "where python" command i am not able to see the venv python.exe it still has the default python locations. Could you please let me know what is missing. Thanks in advance
@adrianobatistadealmeida7646
Thank you. It was very helpfull
@jersonmanuelvicunacanevaro5622
Thank you so much!! What if I want to add an icon to my executable?
@majklbe
@majklbe 2 года назад
Thank you very much for the manual.
@Woronicz2003
@Woronicz2003 Год назад
you help me very much, thank you!
@D0Niiiy0
@D0Niiiy0 2 года назад
Man i really love you, very clear and very helpful!!!?? You are the best!!
@digitalmachine0101
@digitalmachine0101 6 месяцев назад
Good information
@jokatech
@jokatech 3 года назад
thank you. of all videos, you are the only competent one.
@kavyajeetbora2585
@kavyajeetbora2585 2 года назад
Thanks very much for this informative tutorial
@developerx962
@developerx962 2 года назад
unfortunately exe file it is not work with pyshorteners , works just inside pycharm when running it. I'm desperate, the search in google is bombed by a lot of searches and no solution was found.
@argonnedroidm9338
@argonnedroidm9338 Год назад
I tried on an application using ansible but the pyinstaller doesn't package some files and python scripts (ansible-playbook for example) present in the venv
@gate-cscorner2989
@gate-cscorner2989 Год назад
Great one!
@harikajayanthi3816
@harikajayanthi3816 2 года назад
Thank you so much for this video!
@AdnanAdnan-yg5gl
@AdnanAdnan-yg5gl Год назад
Hi Shibu. I've tried to do the same, and after process was finished, and I double clicked on my exe file, I've got thise error: Traceback (most recent call last): File "importlib_metadata\__init__.py", line 564, in from_name StopIteration During handling of the aboive exception, another exception occured: Traceback (most recent call last): File "app.py", line 1, in File "PyInstaller\loader/pyimod03_importers.py", line 495, in exec_module File "streamlit\__init__.py", line 56, in File "importlib_metadata\__init__.py", line 1015, in version File "importlib_metadata\__init__.py", line 988, in distribution File "importlib_metadata\__init__.py", line 566, in from_name importlib_metadata.PackageNotFoundError: No package metadata was found for streamlit What could be a reson for this type of error? Thx in advance, Adnan
@Woronicz2003
@Woronicz2003 Год назад
Do you have if __name__ = '__main__' and def __init__() in your project?
@dcatalyst6271
@dcatalyst6271 2 года назад
I have converted my script to .exe and it is running but as soon as it tries to connect database, code is stopped and application gets closed automatically
@ciennapaige9157
@ciennapaige9157 2 года назад
I followed and got an executable app but it showed a black screen similar to the command prompt --- do you know why?
@ciennapaige9157
@ciennapaige9157 2 года назад
my app is supposed to launch a gui like yours
@shiburaj
@shiburaj 2 года назад
Is the app running before making the gui. Opening of the command prompt is normal but after that the gui should open. If it still doesn't work run the exe from the command line and check what is the exact error.
@Joewiththedadbod
@Joewiththedadbod 2 года назад
I just tried this and it still loaded everything else...numpy, etc...why? I'm using 3.7 conda. is that part of my issue?
@mateuszbomba3737
@mateuszbomba3737 2 года назад
Yes, conda is kinda your virtualenv. You have to run new virtualenv in scripts without conda
@vezirmyo
@vezirmyo Год назад
if our api works with different env of python 3.6.6 how can we do it
@shiburaj
@shiburaj Год назад
You may use venv
@NoobieTechsTithi_mukherjee
@NoobieTechsTithi_mukherjee 3 года назад
how can we make a desktop launcher of our application from a virtual environment in Linux (btw I am talking about launcher and not a executable shell file)
@shiburaj
@shiburaj 3 года назад
check out NSIS docs.
@NoobieTechsTithi_mukherjee
@NoobieTechsTithi_mukherjee 3 года назад
@@shiburaj I made one but when I am clicking it is not opening even after I made it executable in the pop up window
@shiburaj
@shiburaj 3 года назад
yes by default it doesn't you will have to configure the NSIS project to add these features.
@NoobieTechsTithi_mukherjee
@NoobieTechsTithi_mukherjee 3 года назад
@@shiburaj if possible make a video on it.will be very thankful
@AshishSingh-sy3gn
@AshishSingh-sy3gn 3 года назад
Hi there, the .exe generated by pyinstaller is getting detected as a virus by windows defender as well as other antivirus softwares and thus I am not able to execute it. Please help
@shiburaj
@shiburaj 3 года назад
check the code there may be some code snippet which may be creating the problem or maybe its a false positive.
@AshishSingh-sy3gn
@AshishSingh-sy3gn 3 года назад
@@shiburaj Yes sir it is a false positive
@AshishSingh-sy3gn
@AshishSingh-sy3gn 3 года назад
@@shiburaj but I have no idea how to resolve the issue, please help
@DominicNweze
@DominicNweze 2 года назад
someone, anyone please how do I fix mine. when ever I run the exe file. It quickly opens and closes so fast. I've ene turned of my anit-virus protection and fire wall and it does the same shit. someone please tell me
@shiburaj
@shiburaj 2 года назад
Probably u r trying to convert a console application to exe. Try running the exe from command line and check what is the output.
Далее
Pyinstaller with Virtual Environments (venv)
16:38
Просмотров 12 тыс.
impossible lungs test !! 🫁
01:00
Просмотров 3,2 млн
Handsoms😍💕
00:15
Просмотров 5 млн
#kikakim
00:17
Просмотров 8 млн
Making an Executable from a Pygame Game (PyInstaller)
6:08
Convert py to exe - from code to software
5:55
Просмотров 478 тыс.