pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@postnewspapers.com.au>
To: DavidW <wyx1999@hotmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Cannot not create python language
Date: Thu, 09 Dec 2010 11:10:23 +0800
Message-ID: <4D00489F.9000507@postnewspapers.com.au> (raw)
In-Reply-To: <SNT125-DS92CA8350663CCCC58F904B12D0@phx.gbl>
References: <SNT125-DS92CA8350663CCCC58F904B12D0@phx.gbl>

On 8/12/2010 2:03 PM, DavidW wrote:
> When run create language plpythonu
>
> Got ERROR: could not load library "E:/pgsql/lib/plpython.dll": The
> specified module could not be found.
>
> Tried the suggestion to copy lib/plpython.dll to lib/plpython3.dll and
> run create language plpython3u, but still
>
> got ERROR: could not load library "E:/pgsql/lib/plpython3.dll": The
> specified module could not be found.

It's a misleading error message. Windows says "the specified module 
cannot be found" when a DLL that is required by a DLL you try to load 
cannot be found. In this case, you probably don't have Python installed, 
so plpython cannot load the Python DLL.

Check the release notes for your version of postgresql to find out which 
version of Python you must install.

-- 
Craig Ringer

Tech-related writing at http://soapyfrogs.blogspot.com/



view thread (2+ messages)

Message-ID: <4D00489F.9000507@postnewspapers.com.au>
Permalink:  ../4D00489F.9000507@postnewspapers.com.au/
Also on:    postgresql.org/message-id/4D00489F.9000507@postnewspapers.com.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: craig@postnewspapers.com.au, wyx1999@hotmail.com
  Subject: Re: Cannot not create python language
  In-Reply-To: <4D00489F.9000507@postnewspapers.com.au>
  References: <SNT125-DS92CA8350663CCCC58F904B12D0@phx.gbl> <4D00489F.9000507@postnewspapers.com.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox