【问题标题】:QScintilla2 not installed DLL load failedQScintilla2 未安装 DLL 加载失败
【发布时间】:2019-01-09 00:24:48
【问题描述】:

我尝试运行 Python 脚本,它是 PyForms 的演示,它使用 PyQt5、SIP 和显然是 QScintilla。

import pyforms
from pyforms import BaseWidget
from pyforms.controls import ControlText
from pyforms.controls import ControlButton

class Application(BaseWidget):

def __init__(self):
    super(Application, self).__init__('Name of the app')

    #Definition of the forms fields
    self._firstname = ControlText('First name', 'Default value')
    self._middlename = ControlText('Middle name')
    self._lastname = ControlText('Lastname name')
    self._fullname = ControlText('Full name')
    self._button = ControlButton('Press this button')

我遇到了很多麻烦才能走到这一步。一个障碍是获得合适的 PyQt5-Version 与 SIP 相结合。现在 Pydev(Eclipse) 提示我以下内容:

QScintilla2 未安装
DLL 加载失败:Die angegebene Prozedur wurde nicht gefunden。

(翻译 DE -> EN:找不到给定的程序)

QScintilla2 已安装,我多次尝试以不同版本重新安装。我不知道如何用 PIP 解决这个问题。

Windows 8下的当前版本是:

Python:3.7
PyForms:3.0.0
AnyQt:0.0.8
PyQt5:5.10.1
PyQt5-sip:4.19.12
QScintilla:2.10.7
啜饮:4.19.8

对于想知道我之前修复 PyQt5/sip 障碍的人:Stackoverflow | Answer from user ntaro

如果您需要更多信息,请告诉我!

【问题讨论】:

  • 在所以你不应该添加到标题 SOLVED,你要做的是发布一个答案并将其标记为正确。 ;)
  • 感谢您的建议。我会这样做的。

标签: python python-3.x pyqt5 qscintilla


【解决方案1】:

我卸载并安装了最新版本的

QScintilla
Pyforms
SIP
PyQt5

顺序:SIP -> PyQt5 -> QScintilla -> Pyforms

现在可以使用了!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-10-19
    • 2011-08-25
    • 1970-01-01
    • 2021-07-19
    • 2019-07-12
    • 1970-01-01
    • 2020-02-28
    • 2012-12-21
    相关资源
    最近更新 更多