Skip to content Skip to sidebar Skip to footer

Ubuntu Eric No Module Pyqt5.qsci

Just installed Ubuntu 16.04 LTS yesterday, installed Eric. Worked fine. Wanted to start Eric and use qtdesigner today, didn't work (got error qtdesigner not found) since you have t

Solution 1:

I have this problem (ImportError: No module named 'PyQt5.Qsci') and I solved it by these steps:

  1. I opened the terminal and wrote this command: pip3 install qscintilla.
  2. by above command my computer began to downloading qscintilla package, after downloading it start downloading pyqt5 and sip package.
  3. after step 2 I wrote this command: sudo apt-get remove eric.
  4. then I wrote this command: sudo apt-get install eric.
  5. after above steps I run eric by typing: eric and pressed Enter; then my eric ran successfully.

Solution 2:

Just follow the instructions on Eric's download pages, and make sure you use python3 while executing the install.py script.

From the Eric6 Technical Report

Compatibility with Python ver. 3 or/and 2 From the current ver. 6, this same Eric IDE is fully Python 3 or/and 2 compatible, both considered as an executing program and as a developing environment. Indeed this same unique Eric IDE can be used with Python ver. 3 only, OR Python ver. 2 only, or Python ver. 3 AND ver. 2, together. This way offering a unique environment where to attenuate the inconveniences caused by such odd incompatibility between these two consecutive Python versions, and possibly easing the transition between them. That said, we have here decided to adopt and use Python ver. 3—and the consequently related accessories, such as primarily the related PyQt library—as the only base language for this Report 1 , and that for manifest reasons of manageability. Giving thus for granted that a fool-proof compatibility should be experienced in case of adoption of Python ver. 2.

Post a Comment for "Ubuntu Eric No Module Pyqt5.qsci"