Re: Installing support for python on windows

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: novnov <novnovice(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Installing support for python on windows
Date: 2007-01-01 18:21:35
Message-ID: 4599512F.10105@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

novnov wrote:
> Then I tried something like what Adrian had suggested:
>
> D:\postgresql\bin>createlang -U sauser -d mydb plpythonu
> Password:
> createlang: language installation failed: ERROR: could not load library
> "D:/pos
> tgresql/lib/plpython.dll": The specified module could not be found.
>
> It's interesting that createlang knows to look in the peer lib directory for
> the language file but somehow does not like the plpython that it sees there.
> I also tried plpython (no trailing u) and had the same error as the earlier
> experiment.

Most likely it's not finding the require python DLLs in the system PATH,
just the plpython one. Make sure that your actual python directory is in
the PATH, add it if not. If it is, use the "depends" tool (part of the
support tools) to verify exactly what DLL it's not finding.

//Magnus

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message novnov 2007-01-01 19:09:22 Re: Installing support for python on windows
Previous Message dfx 2007-01-01 17:46:26 How I can read-back a serial value just inserted?