PyCharm运行出现 Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run
生活随笔
收集整理的這篇文章主要介紹了
PyCharm运行出现 Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Linux系統(tǒng)下,PyCharm+PyQt5+Python運行界面程序時,出現如下警告:
Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to runchange:
打開/etc/gdm3/daemon.conf文件,找到
刪除這個#后,重啟電腦即可。
總結
以上是生活随笔為你收集整理的PyCharm运行出现 Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Python爬虫淘宝商品详情页价格、类似
- 下一篇: linux——常用指令