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
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.
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
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
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
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.
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)
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
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