简体   繁体   中英

Install QScintilla to qtpy

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.

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

from qtpy import Qsci

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM