Re: Installing support for python on windows

Поиск
Список
Период
Сортировка
От Rhys Stewart
Тема Re: Installing support for python on windows
Дата
Msg-id 189966030702201415h32b3bb5dmfaaa7defa7d97e79@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Installing support for python on windows  (novnov <novnovice@gmail.com>)
Ответы Re: Installing support for python on windows  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-general
<resurrection>

Ok so i am having trouble installing plpython, and found this thread.
Howevre, after adding postgresql/bin to the path and the python lib
directory to the path i still get:
createlang: language installation failed: ERROR:  could not load library "C:/Pro
gram Files/PostgreSQL/8.2/lib/plpython.dll": The specified module could not be f
ound.

so maybe im doing the path thing wrong? i used  :

C:\Program Files\PostgreSQL\8.2\bin>set
PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Python24\Lib;c:\Program
Files\PostggreSQL\8.2\bin;c:\Program Files\PostggreSQL\8.2\lib

so if that is correct what else am i missing?



On 1/2/07, novnov <novnovice@gmail.com> wrote:
>
> Whew, python lang support just installed for me too.
>
> After reading more, it seems that while there is some broken dependency re
> DWMAPI.dll on windowsxp systems, it does not affect most programs.
> DWMAPI.dll is shown as missing by 'depends' but that exposes delay-loaded
> problems that may have little real world impact. The best thread on the
> matter seems to be
> http://episteme.arstechnica.com/eve/forums/a/tpc/f/99609816/m/494009191831.
> I'd not tried createlang since fixing the basic python and postgres path
> issues, and had assumed that the remaining problem exposed by 'depends' was
> a show stopper.
>
> I wonder if it should be included in the docs for installing langs that on
> windows postgresql\bin and python24 and python24\lib need to be in the path?
> And that the current windows installer dll requires python 2.4?
>
> Thanks Adrian for all of your assistance.
>
>
> Adrian Klaver wrote:
> >
> > On Monday 01 January 2007 6:24 pm, novnov wrote:
> >> Thanks, the depends tools looks very handy, surprising I'd not heard of
> >> it
> >> before.
> >>
> >> I found that the postgresql\bin dir must be added to the path.
> >>
> >> Also, I had python 2.5 installed, and plpython apparently needs python
> >> 2.4.
> >> I've installed that and added to the path, but there is another
> >> dependency
> >> missing inside of the python stack, "DWMAPI.dll". Googling DWMAPI.dll
> >> gets
> >> a mixed bag, but I think that it might be part of IE6, and not IE7 (I
> >> have
> >> IE7). Maybe the current plpython does not work unless IE6 is installed,
> >> because plpython needs python 2.4, which needs IE 6???
> >>
> >
> > I installed with python 2.5 and IE7 with no problem.
> >
> > --
> > Adrian Klaver
> > aklaver@comcast.net
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 5: don't forget to increase your free space map settings
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Installing-support-for-python-on-windows-tf2902841.html#a8135655
> Sent from the PostgreSQL - general mailing list archive at Nabble.com.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
>

В списке pgsql-general по дате отправления:

Предыдущее
От: "Yonatan Ben-Nes"
Дата:
Сообщение: invalid input syntax for integer: "NULL"
Следующее
От: "Karl O. Pinc"
Дата:
Сообщение: Re: invalid input syntax for integer: "NULL"