psycopg2-2.0.6.win32 failure in py2exe installation
Tom Brown <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Organization | ESTeem Wireless Modems |
| Message-ID | <[email protected]> |
Python: 2.5.1 psycopg2: 2.0.6.win32 PostgreSQL: 8.3.1 I have created an installer for my app using Inno Setup. It installs my app created with py2exe then launches the installer for PostgreSQL. So, I have my app installed on a user's machine with PostgreSQL in C:\PostreSQL\. I have add the PostgreSQL path to the system PATH. However, when I run the app I get these errors in the log: Traceback (most recent call last): File "test192cfm.py", line 11, in <module> File "getpgcursor.pyo", line 3, in <module> File "psycopg2\__init__.pyo", line 60, in <module> File "psycopg2\_psycopg.pyo", line 12, in <module> File "psycopg2\_psycopg.pyo", line 10, in __load ImportError: DLL load failed: The specified procedure could not be found. Now, on my development machine, everything works fine. However, I have installed all the dependencies manually (Python, psycopg2, etc.). I found a possible solution in a post from 2005, which points to: http://initd.org/tracker/psycopg/ticket/32 Unfortunately, that part of the site is not working right now. Any ideas on what I'm doing wrong here? Thanks, Tom