Re: Installing support for python on windows

Поиск
Список
Период
Сортировка
От novnov
Тема Re: Installing support for python on windows
Дата
Msg-id 8118133.post@talk.nabble.com
обсуждение исходный текст
Ответ на Re: Installing support for python on windows  (Adrian Klaver <aklaver@comcast.net>)
Список 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@comcast.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.


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

Предыдущее
От: brian
Дата:
Сообщение: Re: spooky refusal to insert [SOLVED]
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: How to convert "money" columns to "numeric"?