远程调试 qt.qpa.xcb: could not connect to display, echo DISPLAY为空[已解决]
以服务器作为远程解释器,本地pycharm或vscode调试时出现如下错误:qt.qpa.xcb:couldnotconnecttodisplayqt.qpa.plugin:CouldnotloadtheQtplatformplugin"xcb"in"/home/xx/anaconda3/lib/python3.8/site-packages/cv2/qt/plugins"eventhoughit