I'm trying to use pyinstaller to create an single exe file of my Python program, but when the process completes, the exe can't be run. After reviewing the console output from the process, I can see that following the line:
126946 INFO: Looking for dynamic libraries
I get several hundred lines of "WARNING: lib not found: api-ms-win-crt-any number of different .dll dependency of path to where the dll or pyd is saved
I installed Python using a default configuration and have always installed Python packages using pip. Pyinstaller is supposed to be straight-forward and not need a lot of extra steps, like creating a setup.py file, but it seems something is missing which tells pyinstaller where to look for those missing libraries. Is there a workaround for this? Or even a better python to exe compiler that I should use?
EDIT: To provide more info - My program is made up of 5 modules, and among those I use three 3rd party packages including: PyQt5, pandas and ArcGIS. Additionally, I have two sql files that are part of the program as well. I have a feeling that pyinstaller can only compile simple scripts and by using other packages, modules and external files, it just it's made to handle that kind of stuff.
libpython2.7.dylib
dylib stands for dynamic library. In both case library is present and is in appropiate path but the code is not able to access – ishandutta2007