I\'m trying to distribute an executable file of a Python program I\'ve created. For this purpose I\'m using PyInstaller .
I use Windows 7 Professional with Python 3.
So after a couple of hours, I managed to solve the problem. I did several things and still unsure what was the actuall fix, but this is the step-by-step flow I've done:
pip
and conda
.pyinstaller
.pyinstaller
from within it on the main.py
script of the program with --hidden-import pyodbc
argument.That's it, now the distibuted program works on all Windows computers in the office.