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-01 23:25:11
Message-ID: 8118133.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adrian Klaver wrote:
>
> On Monday 01 January 2007 11:14 am, Magnus Hagander wrote:
>> novnov wrote:
>> > This is so much more difficult than I imagined it could be. I've added
>> > the main python dir and the lib dir to my path and nothing has changed.
>> I
>> > may be able to figure out how to use the depends tool, so far it looks
>> > pretty obscure to a newb.
>>
>> 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.
>>
>>
>> //Magnus
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 9: In versions below 8.0, the planner will ignore your desire to
>> choose an index scan if your joining column's datatypes do not
>> match
> I broke down and installed Postgres on Windows. I had the same problem
> with
> installing plpython until I did as Magnus suggested, rebooted Windows. I
> then
> ran createlang -d template1 -U postgres plpythonu to install it into the
> template1 database and it succeeded.
> --
> Adrian Klaver
> aklaver(at)comcast(dot)net
>
That's encouraging. But I rebooted as a part of my original testing after
adding to path, and just now again. I tried with your -d syntax too and
still the same error. I'll try depend next.

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message novnov 2007-01-01 23:39:58 Re: Installing support for python on windows
Previous Message brian 2007-01-01 21:47:37 Re: spooky refusal to insert [SOLVED]