Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/364.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python eric6不在ubuntu14.10中工作_Python_Pyqt5 - Fatal编程技术网

Python eric6不在ubuntu14.10中工作

Python eric6不在ubuntu14.10中工作,python,pyqt5,Python,Pyqt5,我在Ubuntu 14.10中安装了Python3.4和PyQt5.4.1和Eric6。 当我输入“sudoeric6”时,eric6不工作! 以下是错误。请告诉我我能做什么 错误信息: -------------------------------------------------------------------------------- 2015-05-01, 00:42:31 -----------------------------------------------------

我在Ubuntu 14.10中安装了
Python
3.4和
PyQt
5.4.1和Eric6。 当我输入“sudoeric6”时,eric6不工作! 以下是错误。请告诉我我能做什么

错误信息:
--------------------------------------------------------------------------------
2015-05-01, 00:42:31
--------------------------------------------------------------------------------
: 
qscilerpython(QObject parent=None):参数1具有意外的类型“Shell”
--------------------------------------------------------------------------------
文件“/usr/lib/python3/dist-packages/eric6/eric6.py”,第326行,在
main()
文件“/usr/lib/python3/dist packages/eric6/eric6.py”,第323行,在main中
提出错误
文件“/usr/lib/python3/dist packages/eric6/eric6.py”,第306行,在main中
餐厅(零售店)
文件“/usr/lib/python3/dist packages/eric6/UI/UserInterface.py”,第227行,在__
self.\uuu createLayout(调试服务器)
文件“/usr/lib/python3/dist packages/eric6/UI/UserInterface.py”,第620行,在createLayout中
self.\uu createSidebarsLayout(调试服务器)
文件“/usr/lib/python3/dist packages/eric6/UI/UserInterface.py”,第853行,在
ShellAssembly(debugServer,self.viewmanager,True)
文件“/usr/lib/python3/dist packages/eric6/qscintula/Shell.py”,第48行,在__
self.\uu shell=shell(dbs、vm、self)
文件“/usr/lib/python3/dist packages/eric6/qscintula/Shell.py”,第236行,在__
self.\uuu bindLexer()
文件“/usr/lib/python3/dist packages/eric6/qscintula/Shell.py”,第308行,在bindLexer中
self.lexer \=Lexers.getLexer(self.language,self)
文件“/usr/lib/python3/dist packages/eric6/qscintula/Lexers/_init__.py”,第209行,在getLexer中
return LexerPython(语言,父级)
文件“/usr/lib/python3/dist packages/eric6/qscintula/Lexers/LexerPython.py”,第31行,在__
qscilerpython.uuu init_uuu(self,parent)
错误报告(以及从那里链接的其他报告)似乎表明存储库中PyQt5.qsci的构建落后于PyQt,或者当前qsci安装在错误的位置,从源代码构建理论上应该修复它

So finally, the simplest way to install Eric6 on Ubuntu 14.10 is :
#Install some dependencies
sudo apt-get install mercurial build-essential qt5-default
qtbase5-qttools5-dev-tools libqt5scintilla2-11 python3-pyqt5.qtwebkit
python3-pyqt5.qtsvg python3-pyqt5.qtsql
#Build PyQt5.qsci from sources
sudo apt-get sources python3-pyqt5.qsci
cd qscintilla2-2.8.3+dfsg/Python
python3 configure.py --pyqt=PyQt5 -q /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -d
/usr/lib/python3/dist-packages/PyQt5
make
sudo make install
#Download and build Eric6 from sources
hg clone http://die-offenbachs.homelinux.org:48888/hg/eric
cd eric
sudo python3 install.py

为什么是sudo?没有sudo它行吗?没有sudo ethier它不行