ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> py2exe-users
py2exe-users
[Py2exe-users] ImportError: No module named encodings
by Peteris Bruns other posts by this author
Nov 23 2006 4:24AM messages near this date
Re: [Py2exe-users] concert stir education | Re: [Py2exe-users] ImportError: No module named encodings
Hello!

I have problem with py2exe.
I have python (python 2.4.3) application with wxWidgets (2.6.3) and i use
PostgreSQL database with PostgresPy on WinXP 64
My database and application use UTF-8. If i run application all is working.
If i try to make exe with py2exe it makes it but is problems when i try to
execute my exe:

-with PostgreSQL, PostgresPy i have only error:

Traceback (most recent call last):
  File "App1.py", line 6, in ?
  File "zipextimporter.pyo", line 78, in load_module
  File "Frame1.pyo", line 4, in ?
  File "zipextimporter.pyo", line 78, in load_module
  File "pg2.pyo", line 2, in ?
  File "zipextimporter.pyo", line 78, in load_module
  File "postgresql\__init__.pyo", line 6, in ?
ImportError: No module named encodings

-without PostgreSQL, PostgresPy exe is running without error.

How to fix this problem?!

Best regards,
-- 
pb
Thread:
Peteris Bruns
Werner F. Bruhin

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved