Re: How to get plpython2 in /lib? - Mailing list pgsql-general

From Adrian Klaver
Subject Re: How to get plpython2 in /lib?
Date
Msg-id 54FA698C.6090104@aklaver.com
Whole thread Raw
In response to Re: How to get plpython2 in /lib?  (dpopova@uvic.ca)
Responses Re: How to get plpython2 in /lib?
List pgsql-general
On 03/06/2015 05:41 PM, dpopova@uvic.ca wrote:
> Postgres installed with Installer, from EnterpriseDB.
> Error received while trying to register MADlib 1.7.0.

I seem to remember the EDB builds against Python 3 not 2 now, which
would explain the error below if MADlib is looking for Python 2. I
cannot remember if there is a work around, will dig into further.

>
> Looked at PostgresApp, but it is a package for PostgreSQL 9.4. Cannot have
> this version of Postgres, because it is not supported by MADlib. Tried,
> does not work. Had to uninstall, + manual deletion of a number of
> 'leftovers'. :-(

According to here:

https://github.com/madlib/madlib/wiki/Installation-Guide

it should work with 9.2+.


There is 9.3 version of PostgresApp available here:

https://github.com/PostgresApp/PostgresApp/releases

>
> Need MADlib for research. Please, help.
>
> Diana
>
>
>> On 03/06/2015 12:44 PM, dpopova@uvic.ca wrote:
>>> Mac 10.10.2 (Yosemite)
>>> PostgreSQL 9.3
>>>
>>> error message:
>>> ERROR : SQL command failed:   SQL: CREATE LANGUAGE plpythonu;
>>> ERROR:  could not access file "$libdir/plpython2": No such file or
>>> directory
>>>
>>> Searched Web, nothing useful found...
>>>
>>> Any advice will be greatly appreciated.
>>
>> How was Postgres installed?
>>
>> What where you doing to get the error?
>> Doing a pg_restore from another database?
>> Running CREATE LANGUAGE/EXTENSION directly?
>>
>>
>>>
>>> Diana
>>>
>>>
>>>
>>
>>
>> --
>> Adrian Klaver
>> adrian.klaver@aklaver.com
>>
>
>
>
>


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: dpopova@uvic.ca
Date:
Subject: Re: How to get plpython2 in /lib?
Next
From: David G Johnston
Date:
Subject: Re: VACUUM FULL doesn't reduce table size