Re: ERROR: ImportError: No module named 'psutil'

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Ganesh Korde <ganeshakorde(at)gmail(dot)com>, pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: ERROR: ImportError: No module named 'psutil'
Date: 2021-08-01 16:35:09
Message-ID: 1447393.1627835709@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ganesh Korde 2021-08-02 15:05:22 Re: ERROR: ImportError: No module named 'psutil'
Previous Message Adrian Klaver 2021-08-01 16:30:12 Re: ERROR: ImportError: No module named 'psutil'

Browse pgsql-general by date

  From Date Subject
Next Message Vijaykumar Jain 2021-08-01 17:22:56 Re: postgres vacuum memory limits
Previous Message Adrian Klaver 2021-08-01 16:30:12 Re: ERROR: ImportError: No module named 'psutil'