| From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| 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:30:12 |
| Message-ID: | e8d3b27c-18a6-cfa4-6b09-98577b48fa31@aklaver.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin pgsql-general |
On 8/1/21 8:51 AM, Tom Lane wrote:
> Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)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(dot)klaver(at)aklaver(dot)com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2021-08-01 16:35:09 | Re: ERROR: ImportError: No module named 'psutil' |
| Previous Message | Tom Lane | 2021-08-01 15:51:03 | Re: ERROR: ImportError: No module named 'psutil' |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2021-08-01 16:35:09 | Re: ERROR: ImportError: No module named 'psutil' |
| Previous Message | Tom Lane | 2021-08-01 15:51:03 | Re: ERROR: ImportError: No module named 'psutil' |