Re: plpython intermittent ImportErrors - Mailing list pgsql-general

From Brian Sutherland
Subject Re: plpython intermittent ImportErrors
Date
Msg-id 20130117131412.GA10586@Brians-MacBook-Air.local
Whole thread Raw
In response to Re: plpython intermittent ImportErrors  (Alban Hertroys <haramrae@gmail.com>)
List pgsql-general
On Thu, Jan 17, 2013 at 01:25:54PM +0100, Alban Hertroys wrote:
> On 17 January 2013 12:30, Brian Sutherland <brian@vanguardistas.net> wrote:
>
> > > (we use buildout for our Python code, but our plpythonu stored
> > > procedures use the stock standard Python environment, as provided by
> > > the Ubuntu packages).
> >
> > Sadly, I need to get this running on OSX as that's what our developers
> > use. On Ubuntu/Debian, I would have definitely used the system python
> > environment.
>
>
> Why wouldn't you do the same on OSX? It has Python 2.7 in the base system,
> doesn't it?

But the base system doesn't have many Python libraries, so you need a
packaging system.  Ubuntu/Debian has APT which I am personally very
confortable with.

--
Brian Sutherland


pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: plpython intermittent ImportErrors
Next
From: Миша Тюрин
Date:
Subject: standby, pg_basebackup and last xlog file