I know there have been many people with this same issue, but here is my situation which I have not been able to find the exact same problem. I am building an executable wit
Thanks for your question and answer. I had met the same situation in Windows7 Python3.7 ibm-db 3.0.1
with your hint,I think the reason is that exe can't find *.dll in clidriver\bin and ibm_db.dll,
and solve it with a similar method in two steps
Frist: the same as you, add clidriver directory to system path
**\site-packages\clidriver\bin
Second pack with argument --add-binary
Pyinstaller --add-binary **\Lib\site-packages\ibm_db_dlls\ibm_db.dll;.\ibm_db_dlls myproject.py
Then it's OK!
similar question: PyQt5 Executable is crashing with Missing DLL