首页 文章

Pyqt会话管理错误

提问于
浏览
0

当我用我的UI文件运行Pyuic时,它会出现以下错误 .

# pyuic detector.ui Session management error: None of the authentication protocols specified are supported
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'detector.ui'
#
# Created: Sat Dec 24 07:32:27 2011
#      by: The PyQt User Interface Compiler (pyuic) 3.18.1
#
# WARNING! All changes made in this file will be lost!


from qt import *

它作为root用户 . 当我作为普通用户运行它不会给第一行:“会话管理错误:不支持指定的任何身份验证协议” . 但它不会创建任何文件 .

我有debian挤压

1 回答

  • 0

    我刚刚删除了 pyqt-tools 包并安装了包含 pyuic4pyqt4-dev-tools 包 . 现在一切正常 .

    谢谢@Blender指点我的解决方案

相关问题