Re: Installing via pip under Win7 + virtualenv + VC++2008 - Mailing list psycopg

From Daniele Varrazzo
Subject Re: Installing via pip under Win7 + virtualenv + VC++2008
Date
Msg-id BANLkTin4Ad5KSLsJv42jqUmHcBya=XpCAw@mail.gmail.com
Whole thread Raw
In response to Installing via pip under Win7 + virtualenv + VC++2008  (Stephen Lacy <slacy@slacy.com>)
Responses Re: Installing via pip under Win7 + virtualenv + VC++2008  (Stephen Lacy <slacy@slacy.com>)
Re: Installing via pip under Win7 + virtualenv + VC++2008  (Jason Erickson <jerickso@stickpeople.com>)
List psycopg
On Fri, Jun 3, 2011 at 12:07 AM, Stephen Lacy <slacy@slacy.com> wrote:

> ImportError: DLL load failed: The specified module could not be found.

the file _psycopg.pyd is a dll. For its relatively small size it is
probably dynamically linked to the libpq.dll. I think the system
either fails to find libpq.dll or some of the other dependencies (they
are listed in the setup.py).

I suggest you to use a tool to check its dll dependencies (maybe
http://www.dependencywalker.com/ could be ok) and see if there is
anything missing. If libpq.dll is the missing one, try putting it in a
PATH directory or in the psycopg2 package directory.

Jason, what is the default for building psycopg on windows: static or
dynamic libpq? Is there any default setting we may change to make
psycopg installable with pip/easy_install (if it currently fails - I
don't know).

-- Daniele

psycopg by date:

Previous
From: Joe Abbate
Date:
Subject: Re: Installing via pip under Win7 + virtualenv + VC++2008
Next
From: Daniele Varrazzo
Date:
Subject: Re: Transaction control overhauling