Re: Cannot not create python language

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: DavidW <wyx1999(at)hotmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Cannot not create python language
Date: 2010-12-09 03:10:23
Message-ID: 4D00489F.9000507@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Hold'Em Manager Support 2010-12-09 07:36:25 Re: [Request ID :##222679##] : Re: i need some help on installing all the stuff
Previous Message Hold'Em Manager Support 2010-12-08 22:36:46 Re: [Request ID :##222563##] : i need some help on installing all the stuff