Re: PlPython with pyodbc error DLL load failed: A dynamic link library (DLL) initialization routine failed.

From: tuanhoanganh <hatuan05(at)gmail(dot)com>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: PlPython with pyodbc error DLL load failed: A dynamic link library (DLL) initialization routine failed.
Date: 2013-09-27 04:53:58
Message-ID: CAJg-yaNno0PW+8_3SbcoBSjEL9oCV+2R-HGq0q26LyN5CsJR-Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)hogranch(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/**mailpref/pgsql-general<http://www.postgresql.org/mailpref/pgsql-general>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message mdr 2013-09-27 05:28:47 Trying to create DB / user to import some data
Previous Message Adrian Klaver 2013-09-27 03:52:50 Re: Trouble installing psycopg2