ubuntu 下安装pyqt eric4出现问题 求助!!!!!!!!
努力的草根 2014-07-19 09:47:11 按照网上的教程逐步安装
http://blog.csdn.net/qq61394323/article/details/37885939 这里是我收集的
大概是需要几个部件sip, pyqt,Qscintilla2, eric4
但是当我在编译Qscintilla2的时候就出现下面的错误了
root@ubuntu:~/pyqtSoftware/QScintilla-gpl-2.8.4-snapshot-aae8494847ff/Python# python configure.py
Configuring QScintilla 2.8.4-snapshot-aae8494847ff...
QScintilla 2.8.4-snapshot-aae8494847ff is being used.
The QScintilla .sip files will be installed in /usr/share/sip/PyQt4.
The QScintilla module will be installed in
/usr/local/lib/python2.7/dist-packages/PyQt4.
PyQt 4.11.2-snapshot-ebd39a944b7e is being used.
Qt 5.3.1 is being used.
sip 4.16.3-snapshot-53f490fe8f52 is being used.
The sip executable is /usr/bin/sip.
The QScintilla module is being built with 'protected' redefined as 'public'.
The QScintilla API file will be installed in /usr/share/qt4/qsci/api/python.
Generating the C++ source for the Qsci module...root@ubuntu:~/pyqtSoftware/QScintilla-gpl-2.8.4-snapshot-aae8494847ff/Python# make
g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/local/include/python2.7 -I/usr/include/qt4 -I. -o sipQsciQsciLexerMatlab.o sipQsciQsciLexerMatlab.cpp
In file included from sipQsciQsciLexerMatlab.cpp:29:0:
sipAPIQsci.h:33:17: fatal error: sip.h: No such file or directory
compilation terminated.
make: *** [sipQsciQsciLexerMatlab.o] Error 1
看样子是说没有找到sip.h文件,但是sip是已经install过了
搜索了下home 电脑里面是有的,我也不知道有没有引入成功,各位大神有没有什么思路去解决它呢?