I encountered this while running python code with opencv and pyqt5

Hi

Could you please replace the display from 0.0 to 0 and try it again?

export DISPLAY=:0

Thanks.