I am trying to install and run ninja-ide http://ninja-ide.org/home/
However when I try to run ninja-ide I am facing this error
ImportError: No module named Qsci
I have been trying to install ninja-ide whole night.
I tried everything installing from source, installing using apt-get dependencies mentioned on various blogs.
I installed everything. SIP, PyQt4, Qscintilla, all kinds of dependencies.
I made symlinks for python installation folder in /usr/local/include/python2.7
as python was installed in /usr/include/python2.7
.
I even copied the Qsci folder from /usr/include/qt4
to /usr/lib/python2.7/dist-packages/PyQt4
and /usr/local/lib/python2.7/dist-packages/PyQt4
.
I am now tired of installing everything. I still can't figure out why it gives me the
ImportError: No module named Qsci
I have been scouring Google and Stack Overflow the whole night.
You need to install: python-qscintilla2
Also, the version that requires that, is the version still on development, not an official release.
For Qt4 use:
sudo apt-get install python-pyqt4 python-qscintilla2
For Qt5 use:
sudo apt-get install python-pyqt5 python-pyqt5.qsci
See all available packages here: https://launchpad.net/ubuntu/+source/qscintilla2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With