Re: PlPython with pyodbc error DLL load failed: A dynamic link library (DLL) initialization routine failed. - Mailing list pgsql-general

From tuanhoanganh
Subject Re: PlPython with pyodbc error DLL load failed: A dynamic link library (DLL) initialization routine failed.
Date
Msg-id CAJg-yaNno0PW+8_3SbcoBSjEL9oCV+2R-HGq0q26LyN5CsJR-Q@mail.gmail.com
Whole thread Raw
In response to Re: PlPython with pyodbc error DLL load failed: A dynamic link library (DLL) initialization routine failed.  (John R Pierce <pierce@hogranch.com>)
Responses Re: PlPython with pyodbc error DLL load failed: A dynamic link library (DLL) initialization routine failed.  (tuanhoanganh <hatuan05@gmail.com>)
List pgsql-general
If i run import pyodbc from python command and run pyodbc sql command, everything work well.
Please help me.

Tuan Hoang Anh


On Fri, Sep 27, 2013 at 10:05 AM, John R Pierce <pierce@hogranch.com> wrote:
On 9/26/2013 8:00 PM, tuanhoanganh wrote:

I updated my laptop to windows 8.1, my PostgreSQL version is 9.2.3 64 bit. But my plpython function have "ERROR: ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed." after import pyodbc
My Python version is ActivePython-3.2.2.3-win64-x64, pyodbc version is pyodbc-3.0.2.win-amd64-py3.2.
On windows 7 SP1 64bit everything run fine.
Please help me. Thanks in advance.

I just heard from a developer friend that a recent windows update broke all KINDA dll-related things with Windows.   maybe thats what is happening here.  maybe not.   he hasn't gotten to the bottom of it yet.

--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Trouble installing psycopg2
Next
From: mdr
Date:
Subject: Trying to create DB / user to import some data