Hi Volker We have pinned the werkzeug version to 2.1.2 in pgAdmin 4, as version 2.2 gives some problems. We haven't tested pgAdmin 4 with werkzeug 2.2 and already have a Redmine https://redmine.postgresql.org/issues/7647.
On Wed, Aug 31, 2022 at 3:19 PM Volker Helm <v...@quatro-stahl.de> wrote: > Hi there, > > I tried to update pgAdmin4 yesterday in a virtual enviroment. After I > started pgadmin4 I got an error related to werkzeug.security and > safe_str_cmp > > > I did some searching and found following thread: > > > https://stackoverflow.com/questions/71652965/importerror-cannot-import-name-safe-str-cmp-from-werkzeug-security > > My original system is an arch linux with werkzeug 2.2. > > As solution I installed inside the virtual enviroment with 'pip install > werkzeug=2.0'. Now it works. > > I hope I could provide you some informations. > > -- > > Mit freundlichen Grüßen, > > Volker Helm > > QUATRO Stahl GmbH > > Werner-von-Siemens-Str.5 > > 30982 Pattensen > > Tel: (05101) 9175-44 > > Fax: (05101) 9175-45 > > Internet: www.quatro-stahl.de > > Registeramt: HRB 101010 AG Hannover > > Geschäftsführung: Volker Helm, Bernd Pritzel > > UStId: DE 116 402 055 > > -- <http://www.enterprisedb.com> Akshay Joshi Principal Software Architect +91 9767888246 www.enterprisedb.com <https://www.linkedin.com/company/edbpostgres> <https://twitter.com/edbpostgres?lang=en> <https://www.facebook.com/EDBpostgres> <https://www.instagram.com/EDBpostgres/>