PyODBC
If a script frozen with py2exe utilizes pyodbc, running the executable version produces the error: RuntimeError: Unable to import decimal
The solution is to include the following py2exe option:
setup(
...
options = {
'py2exe': {
'includes': 'decimal',
},
},
...
)Original solution was found in "Compiled Python App Problem" thread on Dev Shedâ„¢ Forums.
