From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Ganesh Korde <ganeshakorde@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: ERROR: ImportError: No module named 'psutil'
Date: Sun, 1 Aug 2021 09:30:12 -0700
Message-ID: <e8d3b27c-18a6-cfa4-6b09-98577b48fa31@aklaver.com> (raw)
In-Reply-To: <1442423.1627833063@sss.pgh.pa.us>
References: <CAPNyb0UKUn_RwvD+jtmo27CqPzrOa3Ae+JuzCcWwnNXvnwPMSg@mail.gmail.com>
<CAPNyb0X=vq55ZWNuK1n+gfhPLy+J8KDn9XXcONKj30iZPYi+Kw@mail.gmail.com>
<113c9dee-7126-79f3-0c78-03ecbba89f0b@aklaver.com>
<1442423.1627833063@sss.pgh.pa.us>
On 8/1/21 8:51 AM, Tom Lane wrote:
> Adrian Klaver <adrian.klaver@aklaver.com> writes:
>
> Now it's possible that the wording didn't change exactly at the 2/3
> boundary, but I doubt it. So it looks to me like the alleged plpython3u
> language is actually invoking python 2.something, which is unlikely
> to work well at all.
In that vein the OP could run:
DO $$
import sys
plpy.notice(sys.version)
$$ LANGUAGE plpython3u;
in the database to see what plpython3u is actually pointing at?
>
> regards, tom lane
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: adrian.klaver@aklaver.com, tgl@sss.pgh.pa.us, ganeshakorde@gmail.com, pgsql-general@lists.postgresql.org
Subject: Re: ERROR: ImportError: No module named 'psutil'
In-Reply-To: <e8d3b27c-18a6-cfa4-6b09-98577b48fa31@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