pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: PEDRO PABLO SEVERIN HONORATO <ppseverin@miuandes.cl>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Help with plpython3u
Date: Wed, 10 Jun 2020 17:15:09 -0700
Message-ID: <0bd74bc1-257e-8c28-2b08-fd390daa411d@aklaver.com> (raw)
In-Reply-To: <CAB2K=JO_pFnS6Ji_6zxWyDUCxHDMCJZeSq3uwAim3w3Xt_tv1Q@mail.gmail.com>
References: <CAB2K=JPRjrR6B5c=Vi8h0B8c4Wt=Y2wLRaita0dx2j4j7-n4aQ@mail.gmail.com>
	<a4b58076-be83-77c9-fa66-0fd6f47c27d3@aklaver.com>
	<CAB2K=JM+Ch_XiKP-gEu0as5UQ=QpZpQtHK6RVhDu9tROD+Q_1w@mail.gmail.com>
	<e9067956-48b0-2d49-5eb8-eb9dc644d194@aklaver.com>
	<CAB2K=JPce=+SRfetfWCLTRmhZhvLCq_aeNU9RWkVDAZamQnaAA@mail.gmail.com>
	<d63a1aeb-1a24-179a-2f95-914284eac85b@aklaver.com>
	<CAB2K=JPem1Wk-6iegkcWy9ZQL9=ZQHTdC9EJLLrf+dJ3ZeZCWA@mail.gmail.com>
	<13c85ed6-43ae-76e3-058d-97ccc435e96f@aklaver.com>
	<CAB2K=JM9ZuqQ+-Zi-M0cupR_M1OD5YzHRwT23zmgWguNFUJLMg@mail.gmail.com>
	<dfe845e0-4d04-db6d-988b-461bcd4f254a@aklaver.com>
	<CAB2K=JOT=UDaKOLevoJaA68iW+YmJv5BkN+5TuCZEuQ2Du3icQ@mail.gmail.com>
	<36efd504-84ac-6190-0d63-a95ffe855c56@aklaver.com>
	<CAB2K=JOy4C9EZ7m6ms5vp3HD4Rix6yYKAc9b_pYnvWLwg7CFsQ@mail.gmail.com>
	<CAB2K=JPjaE4=K--_WG=kJSkBjfqSUTnk_-x0LSW=aczfaw=FJw@mail.gmail.com>
	<4e38a0f3-abbe-6da1-956e-d28eaf8fbfad@aklaver.com>
	<CAB2K=JO_pFnS6Ji_6zxWyDUCxHDMCJZeSq3uwAim3w3Xt_tv1Q@mail.gmail.com>

On 6/10/20 4:35 PM, PEDRO PABLO SEVERIN HONORATO wrote:
> something like EDB_PYTHONHOME
> that only the Postgres install would use.
> 
> That's exactly what I was looking for. Isn't a way to configure some 
> postgres file, so that postgres would use that file and look for python 
> in that directory before seeing the path?

That is not something that is native to Postgres. The issue is that EDB 
bundles a Python version with the Language Pack and points the 
plpython(3)u extensions at it. I understand that, as they can't count on 
Python being installed as in Unix(en) OS'es or invoke a package manager 
to satisfy the dependency. The problem is when you do install some other 
form of Python on your Windows machine. Then you get the conflicts.

> 
> I guess you have to ask questions on Stackoverflow
> 
> Stackoverflow was the first place where I asked this, but with less 
> knowledge than now. Maybe now I can ask a more concrete question about 
> paths.
> 
> Anyways, thank you very much for your time, Adrian. I really appreciate 
> it. If I manage to solve this I'll let you know, so if anyone else has 
> the same problem.
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (21+ messages)

Message-ID: <0bd74bc1-257e-8c28-2b08-fd390daa411d@aklaver.com>
Permalink:  ../0bd74bc1-257e-8c28-2b08-fd390daa411d@aklaver.com/
Also on:    postgresql.org/message-id/0bd74bc1-257e-8c28-2b08-fd390daa411d@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, ppseverin@miuandes.cl
  Subject: Re: Help with plpython3u
  In-Reply-To: <0bd74bc1-257e-8c28-2b08-fd390daa411d@aklaver.com>
  References: <CAB2K=JPRjrR6B5c=Vi8h0B8c4Wt=Y2wLRaita0dx2j4j7-n4aQ@mail.gmail.com> <CAB2K=JM+Ch_XiKP-gEu0as5UQ=QpZpQtHK6RVhDu9tROD+Q_1w@mail.gmail.com> <e9067956-48b0-2d49-5eb8-eb9dc644d194@aklaver.com> <CAB2K=JPce=+SRfetfWCLTRmhZhvLCq_aeNU9RWkVDAZamQnaAA@mail.gmail.com> <d63a1aeb-1a24-179a-2f95-914284eac85b@aklaver.com> <CAB2K=JPem1Wk-6iegkcWy9ZQL9=ZQHTdC9EJLLrf+dJ3ZeZCWA@mail.gmail.com> <13c85ed6-43ae-76e3-058d-97ccc435e96f@aklaver.com> <CAB2K=JM9ZuqQ+-Zi-M0cupR_M1OD5YzHRwT23zmgWguNFUJLMg@mail.gmail.com> <dfe845e0-4d04-db6d-988b-461bcd4f254a@aklaver.com> <CAB2K=JOT=UDaKOLevoJaA68iW+YmJv5BkN+5TuCZEuQ2Du3icQ@mail.gmail.com> <36efd504-84ac-6190-0d63-a95ffe855c56@aklaver.com> <CAB2K=JOy4C9EZ7m6ms5vp3HD4Rix6yYKAc9b_pYnvWLwg7CFsQ@mail.gmail.com> <CAB2K=JPjaE4=K--_WG=kJSkBjfqSUTnk_-x0LSW=aczfaw=FJw@mail.gmail.com> <4e38a0f3-abbe-6da1-956e-d28eaf8fbfad@aklaver.com> <CAB2K=JO_pFnS6Ji_6zxWyDUCxHDMCJZeSq3uwAim3w3Xt_tv1Q@mail.gmail.com> <0bd74bc1-257e-8c28-2b08-fd390daa411d@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox