2011-12-24 23 views
0

UIファイルでPyuicを実行すると、次のエラーが発生します。Pyqtセッション管理エラー

# 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のスクイズ

+2

これは 'pyqt4'ではありません。それは多かれ少なかれ死んでいる 'pyqt3'です。 – Blender

+0

エラーはpyqt3(これは[まだサポートされています](http://www.riverbankcomputing.com/software/pyqt/download3)btw)とは何の関係もありません。 – ekhumoro

+0

明らかに、彼は古いpyqtツールを削除してpyqt4と置き換えなければならなかったので – jdi

答えて

0

を持っています私はちょうどpyqt-toolsパッケージを削除し、pyuic4含まpyqt4-dev-toolsパッケージをインストールしました。今はすべて正常に動作します。

ありがとうございます。私に解決策を教えてくれてありがとうございます