Python sip安装后安装PyQt(用于pyuic4)正常:错误:PyQt-x11-gpl-4.11安装
安装Python sip安装后安装PyQt(用于pyuic4)正常:错误:PyQt-x11-gpl-4.11安装,python,linux,pyqt4,Python,Linux,Pyqt4,安装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 qtdeta
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.
我真的搞不懂这是什么意思。这是一个依赖性问题吗?假设您使用的是ubuntu,就不需要从源代码处编译来获得
pyuic4
。如果您安装了正确的官方软件包,那么应该包括所有内容
只需安装以下任何一个:
- Python 2:Python-qt4和pyqt4开发工具
- python3:python3-pyqt4和pyqt4开发工具