pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: tony@tonymarston.net
Subject: BUG #17934: Cannot run pgAdmin after upgrading from 15.2 to 15.3
Date: Tue, 16 May 2023 08:55:07 +0000
Message-ID: <17934-11830854c5c0605b@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      17934
Logged by:          Tony Marston
Email address:      tony@tonymarston.net
PostgreSQL version: 15.3
Operating system:   Windows 10
Description:        

I have just upgraded from version 15.2 to 15.3, but when I try to run
pgAdmin there is a long time delay before it comes up with the message: "The
pgAdmin 4 server could not be contacted". Below that it shows full details
of the error which ends with the following:

 import psutil
  File "E:\Program Files\PostgreSQL\15\pgAdmin
4\python\lib\site-packages\psutil\__init__.py", line 241, in <module>
    raise ImportError(msg)
ImportError: version conflict: 'E:\\Program Files\\PostgreSQL\\15\\pgAdmin
4\\python\\lib\\site-packages\\psutil\\_psutil_windows.cp310-win_amd64.pyd'
C extension module was built for another version of psutil (5.9.3 instead of
5.9.5); you may try to 'pip uninstall psutil', manually remove E:\Program
Files\PostgreSQL\15\pgAdmin
4\python\lib\site-packages\psutil\_psutil_windows.cp310-win_amd64.pyd or
clean the virtual env somehow, then reinstall

How do I fix this error?



view thread (3+ messages)  latest in thread

Message-ID: <17934-11830854c5c0605b@postgresql.org>
Permalink:  ../17934-11830854c5c0605b@postgresql.org/
Also on:    postgresql.org/message-id/17934-11830854c5c0605b@postgresql.org

 · 

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-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, tony@tonymarston.net
  Subject: Re: BUG #17934: Cannot run pgAdmin after upgrading from 15.2 to 15.3
  In-Reply-To: <17934-11830854c5c0605b@postgresql.org>

* 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