Can't create plpython language

From: guxiaobo1982 <guxiaobo1982(at)qq(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Can't create plpython language
Date: 2013-07-04 09:26:10
Message-ID: tencent_015A925E228A47BF15FD3DDA@qq.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)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(at)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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message boraldomaster 2013-07-04 11:42:56 Re: How to create a cursor that is independent of transactions and doesn't calculated when created ?
Previous Message G N 2013-07-04 07:51:54 Best Table to find Query Logs.