Python Forum

Full Version: Keep getting Session management error when running imshow in pycharm
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.