Size: 422
Comment:
|
← Revision 9 as of 2014-09-29 12:31:15 ⇥
Size: 589
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Hi, everybody! My name is Serena. <<BR>> It is a little about myself: I live in United States, my city of Oklahoma City. <<BR>> It's called often Northern or cultural capital of OK. I've married 3 years ago.<<BR>> I have 2 children - a son (Angel) and the daughter (Jada). We all like Roller Derby.<<BR>> <<BR>> Also visit my blog post ... [[http://www.youtube.com/watch?v=UlyCuMWsfIk|karatbars gold bars for sale]] |
= PyODBC = If a script frozen with py2exe utilizes [[http://code.google.com/p/pyodbc/|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 [[http://forums.devshed.com/python-programming-11/compiled-python-app-problem-502516.html|"Compiled Python App Problem" thread on Dev Shed™ Forums]]. |
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.