Re: Installing support for python on windows

From: novnov <novnovice(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Installing support for python on windows
Date: 2007-01-02 02:24:32
Message-ID: 8119308.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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???

Adrian Klaver wrote:
>
> On Monday 01 January 2007 3:39 pm, novnov wrote:
>> It should be easy enough - just run "depends plpython.dll" in the
>> directory where plpython is.
>>
>> Two things to verify first:
>> 1) Verify that you added the directories to the system path, and not
>> your personal path
>> 2) Did you restart the server after adding it? Needs to be done for
>> windows to pick up the change in environment.
>>
>>
>> plpython.dll is in the lib dir. But at a command prompt there, "depends
>> plpython.dll" just gets me
>>
>> 'depends' is not recognized as an internal or external command etc.
>>
>> The postgres docs talk about the catalog pg_depend, and maybe 'depends'
>> is
>> another executable that calls that, but I've not been able to find a
>> 'depends.exe'. depends does not seem to fly in psql. The pg_depends docs
>> don't really tell me how to use pg_depends on it's own...I don't know
>> anything about catalogs, or it'd probably be obvious.
>>
>> The server was restarted and the path modified was for the server. Thanks
> Depends is a windows program. To get it I had to load the Windows support
> tools from the Windows install disc(in my case the image on my harddrive).
> --
> Adrian Klaver
> aklaver(at)comcast(dot)net
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>
>

--
View this message in context: http://www.nabble.com/Installing-support-for-python-on-windows-tf2902841.html#a8119308
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Peterson 2007-01-02 03:52:59 regular expression limit
Previous Message Andrus 2007-01-02 00:37:59 Replacing all CHAR colums with VARCHAR