pyqt5安装eric6说检测不到Qsci

本文根据网址: http://bbs.csdn.net/topics/391080378?page=1 并结合自身安装过程整理!

以下是我安装过程中,命令窗口的输出,第一次安装的时候提示错误:

Sorry, please install QScintilla2 and its 

PyQt5/PyQt4 wrapper. 

Error: cannot import name 'Qsci'

然后根据上面贴子中提到的方法,先用: pip install QScintilla 完成后,再重新执行python install.py命令即可。

D:\eric6-17.07>python install.py
Checking dependencies
Python Version: 3.6.2
Found PyQt5
Found pyuic5
Sorry, please install QScintilla2 and
its PyQt5/PyQt4 wrapper.
Error: cannot import name 'Qsci'
Press enter to continue...

D:\eric6-17.07>pip install QScintilla
Collecting QScintilla
  Downloading QScintilla-2.10.1-5.9.1-cp35.cp36.cp37-none-win_amd64.whl (1.8MB)
    100% |████████████████████████████████| 1.9MB 16kB/s
Requirement already satisfied: PyQt5>=5.9.0 in c:\python\lib\site-packages (from QScintilla)
Requirement already satisfied: sip<4.20,>=4.19.3 in c:\python\lib\site-packages (from PyQt5>=5.9.0->QScintilla)
Installing collected packages: QScintilla
Successfully installed QScintilla-2.10.1

D:\eric6-17.07>python install.py
Checking dependencies
Python Version: 3.6.2
Found PyQt5
Found pyuic5
Found QScintilla2
Found QtGui
Found QtNetwork
Found QtPrintSupport
Found QtSql
Found QtSvg
Found QtWidgets
Qt Version: 5.9.1
sip Version: 4.19.3
PyQt Version: 5.9
QScintilla Version: 2.10.1
All dependencies ok.

Cleaning up old installation ...

Creating configuration file ...

Compiling user interface files ...

Compiling source files ...

Installing eric6 ...

Installation complete.

Press enter to continue...


评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值