Pyqt会话管理错误

时间:2011-12-24 02:06:38

标签: qt pyqt pyqt4

当我用我的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 :(得分:0)

我刚删除了pyqt-tools包并安装了包含pyqt4-dev-tools的{​​{1}}包。现在一切正常。

感谢@Blender指导我解决方案

相关问题