Thread: create language 'plpythonu' on win failed

create language 'plpythonu' on win failed

From
MICHÁLEK Jan Mgr.
Date:
I can't solve problem with creating language python in my POSTGRESQL (9.0)
-------------------------------------------------------------
create language 'plpythonu'
 
ERROR:  could not load library "C:/Program Files/PostgreSQL/9.0/lib/plpython.dll": unknown error 126
--------------------------------------------------------------------------------------
 
I used dependency walker for finding problem and i find, that plpythonu.dll need python26.dll (i have instaled python 27 on my PC).
I try install python 26 to folder with postgresql, but there is the same problem.
 
Is there somebody who is able to create python lang in postgresql on win??
 
I used google, but i can't find any advice solving my problem.
 
Thanks Je.


__________ Informace od ESET NOD32 Antivirus, verze databaze 5700 (20101213) __________

Tuto zpravu proveril ESET NOD32 Antivirus.

http://www.eset.cz

Re: create language 'plpythonu' on win failed

From
Peter Geoghegan
Date:
Just use the python 2.6 installer for windows.

--
Regards,
Peter Geoghegan

Re: create language 'plpythonu' on win failed

From
MICHÁLEK Jan Mgr.
Date:
I try instal python 26, but without changes...

ERROR:  could not load library "C:/Program Files/PostgreSQL/9.0/lib/plpython.dll": unknown error 126

-----Original Message-----
From: Peter Geoghegan [mailto:peter.geoghegan86@gmail.com]
Sent: Tuesday, December 14, 2010 12:40 PM
To: MICHÁLEK Jan Mgr.
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] create language 'plpythonu' on win failed

Just use the python 2.6 installer for windows.

--
Regards,
Peter Geoghegan


__________ Informace od ESET NOD32 Antivirus, verze databaze 5700 (20101213) __________

Tuto zpravu proveril ESET NOD32 Antivirus.

http://www.eset.cz



__________ Informace od ESET NOD32 Antivirus, verze databaze 5700 (20101213) __________

Tuto zpravu proveril ESET NOD32 Antivirus.

http://www.eset.cz


Re: create language 'plpythonu' on win failed

From
Adrian Klaver
Date:
On Tuesday 14 December 2010 4:28:28 am MICHÁLEK Jan Mgr. wrote:
> I try instal python 26, but without changes...
>
> ERROR:  could not load library "C:/Program
> Files/PostgreSQL/9.0/lib/plpython.dll": unknown error 126
>

Are the permissions correct?


--
Adrian Klaver
adrian.klaver@gmail.com

Re: create language 'plpythonu' on win failed

From
MICHÁLEK Jan Mgr.
Date:
I'm superuser. I have the same problem on both mz computers, on PC with win xp and on ntb with win 7. Both postgresql
is9.0 and on both I have python 27. 

Je.
-----Original Message-----
From: Adrian Klaver [mailto:adrian.klaver@gmail.com]
Sent: Tuesday, December 14, 2010 4:09 PM
To: pgsql-general@postgresql.org
Cc: MICHÁLEK Jan Mgr.
Subject: Re: [GENERAL] create language 'plpythonu' on win failed

On Tuesday 14 December 2010 4:28:28 am MICHÁLEK Jan Mgr. wrote:
> I try instal python 26, but without changes...
>
> ERROR:  could not load library "C:/Program
> Files/PostgreSQL/9.0/lib/plpython.dll": unknown error 126
>

Are the permissions correct?


--
Adrian Klaver
adrian.klaver@gmail.com


__________ Informace od ESET NOD32 Antivirus, verze databaze 5700 (20101213) __________

Tuto zpravu proveril ESET NOD32 Antivirus.

http://www.eset.cz



__________ Informace od ESET NOD32 Antivirus, verze databaze 5700 (20101213) __________

Tuto zpravu proveril ESET NOD32 Antivirus.

http://www.eset.cz


Re: create language 'plpythonu' on win failed

From
Adrian Klaver
Date:
On Tuesday 14 December 2010 10:39:35 pm MICHÁLEK Jan Mgr. wrote:
> I'm superuser. I have the same problem on both mz computers, on PC with win
> xp and on ntb with win 7. Both postgresql is 9.0 and on both I have python
> 27.

Sorry I was not more explicit. Are the permissions on the directory/file below
correct for the Postgres program/user?

C:/ProgramFiles/PostgreSQL/9.0/lib/plpython.dll



--
Adrian Klaver
adrian.klaver@gmail.com