Python Forum
Keep getting Session management error when running imshow in pycharm
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keep getting Session management error when running imshow in pycharm
#1
So I've tried following the advice in other post about this error, but have yet to solve the issue.

When I use cv2.imshow I get the error:
Qt: Session management error: None of the authentication protocols specified are supported

I have tried adding unset SESSION_MANAGER under my import statement, this just threw an error.
I installed Pycharm-community through Flatpak so issuing the following command also does not work.

env -u SESSION_MANAGER pycharm-community

If I run my code in anaconda spyder i don't get the error.
Any advice on how I remove this error would be gratefully appreciated.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  error "cannot identify image file" part way through running hatflyer 0 683 Nov-02-2023, 11:45 PM
Last Post: hatflyer
  Pycharm error zuri 1 493 Nov-01-2023, 03:38 PM
Last Post: deanhystad
  code management trix 3 626 Oct-23-2023, 05:29 PM
Last Post: buran
  Error when running kivy on python janeik 8 2,071 Jun-16-2023, 10:58 PM
Last Post: janeik
  Getting error when running "MINUS" between 2 databases marlonbown 4 1,279 Nov-10-2022, 05:49 AM
Last Post: deanhystad
  Error while running code on VSC maiya 4 3,777 Jul-01-2022, 02:51 PM
Last Post: maiya
  Pandas - error when running Pycharm, but works on cmd line zxcv101 1 1,377 Jun-18-2022, 01:09 PM
Last Post: snippsat
  Error when running a matplot lib example aurelius_nero 3 6,915 Apr-24-2022, 01:24 PM
Last Post: Axel_Erfurt
  PyCharm Error? coder_sw99 4 2,009 Sep-24-2021, 06:16 PM
Last Post: Yoriz
  Matplotlib in Pycharm - not running ALMOKTM 2 2,946 Mar-31-2021, 04:13 AM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020