pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Cannot not create python language
2+ messages / 2 participants
[nested] [flat]

* Cannot not create python language
@ 2010-12-08 06:03  DavidW <wyx1999@hotmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: DavidW @ 2010-12-08 06:03 UTC (permalink / raw)
  To: pgsql-bugs

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.

 

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Cannot not create python language
@ 2010-12-09 03:10  Craig Ringer <craig@postnewspapers.com.au>
  parent: DavidW <wyx1999@hotmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Craig Ringer @ 2010-12-09 03:10 UTC (permalink / raw)
  To: DavidW <wyx1999@hotmail.com>; +Cc: 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/



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2010-12-09 03:10 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-12-08 06:03 Cannot not create python language DavidW <wyx1999@hotmail.com>
2010-12-09 03:10 ` Craig Ringer <craig@postnewspapers.com.au>

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