1

I am using qtpy to write Qt application and I import modules as `

from qtpy import QtWidget

I would like to install QScintilla but installing it using

pip install QScintilla

installs QScintilla inside site-packages/PyQt5 directory ,but I would like it go to site-packages/qtpy , if possible.

I have also tried

pip install --target site-packages/qtpy QScintilla

but it install PyQt5 first inside site-packages/qtpy directory (as dependency) and inside Qscintilla inside the new PyQt5 directory.

James Z
  • 12,209
  • 10
  • 24
  • 44
Noushadali
  • 41
  • 5
  • 1
    It makes no sense to use QScintilla with qtpy, because PySide currently does not provide any bindings for it. If you want to use QScintilla, you should use a pure PyQt project. – ekhumoro May 30 '22 at 11:40
  • I think, that makes a lot of sense! Thank you. – Noushadali May 30 '22 at 11:45

1 Answers1

1

With this commit, the QScinitilla can be imported from qtpy as

from qtpy import Qsci
Noushadali
  • 41
  • 5