Re: Plpythonu extension

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Vincent Predoehl <vpredoehl(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Plpythonu extension
Date: 2019-02-21 05:12:34
Message-ID: e076d18a-0ee9-ca1a-0372-ace856a48b78@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/20/19 6:49 PM, Vincent Predoehl wrote:
>
>
>> On Feb 20, 2019, at 6:26 PM, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com
>> <mailto:adrian(dot)klaver(at)aklaver(dot)com>> wrote:
>>
>> On 2/20/19 2:28 PM, Vincent Predoehl wrote:
>>
>>> postgresql --with-python/
>>> I am not really sure how the Brew system works, but it appears it is
>>> possible to request a fork or branch from the main project that will
>>> have the —with-python option enabled by default.  All I’m trying to
>>> do is learn PostgreSQL.  Can somebody just “tell” me how to get
>>> postgresql installed with python?  I am quickly getting in over my head.
>>
>> Per a previous suggestion from Anthony:
>>
>> Postgres.app
>> https://postgresapp.com/
>>
>> Or from Peter's post:
>>
>> https://github.com/petere/homebrew-postgresql
>
>
> Sorry, I forgot to mention that I tried Peter’s post and there were
> clear instructions.  However, the default install still did not include
> plpythonu.  This is what I did:
>
> **brew tap petere/postgresql
>
> Then
>
> brew install petere/postgresql --with-python

I am not a Mac user and therefore do not use Homebrew, so take the below
with that in mind. Have you tried?:

brew install petere/postgresql/postgresql(at)11 --with-python

>
> Which failed with invalid option —with-python.
>
> Also tried
>
> brew install petere/postgresql
>
> Without any options.  It installed, but without the plpythonu extension.
>
> I ran brew uninstall postgresql before trying any install command, of
> course.
>
>
> I browsed the repo file postgresql(at)11(dot)rb <mailto:postgresql(at)11(dot)rb> and
> the script did include the —with-python option, but I don’t know enough
> about Brew to understand why it didn’t work or if the script was
> actually used for the installation.
>
>>
>> --
>> Adrian Klaver
>> adrian(dot)klaver(at)aklaver(dot)com <mailto:adrian(dot)klaver(at)aklaver(dot)com>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vincent Predoehl 2019-02-21 06:09:42 Re: Plpythonu extension
Previous Message Michael Paquier 2019-02-21 04:47:58 Re: Channel binding not supported using scram-sha-256 passwords