Re: Cannot not create python language - Mailing list pgsql-bugs

From Craig Ringer
Subject Re: Cannot not create python language
Date
Msg-id 4D00489F.9000507@postnewspapers.com.au
Whole thread Raw
In response to Cannot not create python language  (DavidW <wyx1999@hotmail.com>)
List pgsql-bugs
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/

pgsql-bugs by date:

Previous
From: DavidW
Date:
Subject: Cannot not create python language
Next
From: Hold'Em Manager Support
Date:
Subject: Re: [Request ID :##222563##] : i need some help on installing all the stuff