Size: 589
Comment:
|
← Revision 9 as of 2014-09-29 12:31:15 ⇥
Size: 589
Comment:
|
No differences found! |
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.