Can't create plpython language - Mailing list pgsql-general

From guxiaobo1982
Subject Can't create plpython language
Date
Msg-id tencent_015A925E228A47BF15FD3DDA@qq.com
Whole thread Raw
Responses Re: Can't create plpython language
Re: Can't create plpython language
List pgsql-general
Hi,

I am running PostgreSQL 9.2.4.1 (from EnterpriseDB) on CENTOS 5.9 X64 server, I got the following errors when trying to create the python language handler, can you help with this, thanks in advance.

[postgres@lix ~]$ psql 
Password: 
psql.bin (9.2.4)
Type "help" for help.

No entry for terminal type "vt100";
using dumb terminal settings.
postgres=# create language plpython2u;
ERROR:  could not access file "$libdir/plpython2": No such file or directory
postgres=# create language plpython3u;
The connection to the server was lost. Attempting reset: Failed.
!> 


[postgres@lix ~]$ python
Python 2.4.3 (#1, Jan  9 2013, 06:47:03) 
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 

Xiaobo Gu

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: Cannot connect to remote postgres database
Next
From: boraldomaster
Date:
Subject: Re: How to create a cursor that is independent of transactions and doesn't calculated when created ?