安装Eric6出现错误:Error: cannot import name 'Qsci'

详细错误:

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

解决方法:pip3 install QScintilla

D:\Python35\Scripts>pip3 install  QScintilla
Collecting QScintilla
  Using cached QScintilla-2.10-5.8.0-cp34.cp35.cp36.cp37-none-win_amd64.whl
Requirement already satisfied: PyQt5>=5.7.1 in d:\python35\lib\site-packages (from QScintilla)
Requirement already satisfied: sip<4.20,>=4.19 in d:\python35\lib\site-packages (from PyQt5>=5.7.1->QScintilla)
Installing collected packages: QScintilla
Successfully installed QScintilla-2.10
    原文作者:夜雨微寒
    原文地址: https://zhuanlan.zhihu.com/p/26467115
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞