安装sip
后,我在尝试安装PyQt-x11-gpl-4.11
时会收到这条可爱的错误消息。
mycommandline$ python configure-ng.py --verbose
Querying qmake about your Qt installation...
Determining the details of your Qt installation...
/usr/bin/qmake -o qtdetail.mk qtdetail.pro
make -f qtdetail.mk
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -o qtdetail.o qtdetail.cpp
g++ -m64 -Wl,-O1 -o qtdetail qtdetail.o -L/usr/lib/x86_64-linux-gnu -lQtCore -lpthread
Error: Failed to determine the detail of your Qt installation.
我无法弄清楚这意味着什么。这是依赖性问题吗?
答案 0 :(得分:1)
假设您正在使用ubuntu,则无需从源代码编译以获取pyuic4
。如果您安装了正确的官方软件包,则应包含所有内容。
只需安装以下内容:
或者这个: