pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Ganesh Korde <ganeshakorde@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: ERROR: ImportError: No module named 'psutil'
Date: Sun, 01 Aug 2021 12:35:09 -0400
Message-ID: <1447393.1627835709@sss.pgh.pa.us> (raw)
In-Reply-To: <e8d3b27c-18a6-cfa4-6b09-98577b48fa31@aklaver.com>
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>
	<e8d3b27c-18a6-cfa4-6b09-98577b48fa31@aklaver.com>

Adrian Klaver <adrian.klaver@aklaver.com> writes:
> 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?

+1 ... looking at sys.path in the same way would also be useful.

			regards, tom lane





view thread (7+ messages)  latest in thread

Message-ID: <1447393.1627835709@sss.pgh.pa.us>
Permalink:  ../1447393.1627835709@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1447393.1627835709@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, adrian.klaver@aklaver.com, ganeshakorde@gmail.com, pgsql-general@lists.postgresql.org
  Subject: Re: ERROR: ImportError: No module named 'psutil'
  In-Reply-To: <1447393.1627835709@sss.pgh.pa.us>

* 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