简体   繁体   English

安装 QScintilla 到 qtpy

[英]Install QScintilla to qtpy

I am using qtpy to write Qt application and I import modules as `我正在使用 qtpy 编写 Qt 应用程序,并将模块导入为`

from qtpy import QtWidget

I would like to install QScintilla but installing it using我想安装 QScintilla 但使用

pip install QScintilla

installs QScintilla inside site-packages/PyQt5 directory,but I would like it go to site-packages/qtpy , if possible.site-packages/PyQt5目录中安装 QScintilla,但我希望它 go 到site-packages/qtpy ,如果可能的话。

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.但它首先在site-packages/qtpy目录(作为依赖项)中安装 PyQt5,然后在新的 PyQt5 目录中的 Qscintilla 中安装。

With this commit , the QScinitilla can be imported from qtpy as通过此提交,QScinitilla 可以从 qtpy 导入为

from qtpy import Qsci

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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