我试着运行一个Python脚本,它是PyForms的一个演示,它使用PyQt5、SIP和qscintila。你知道吗
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版本与SIP的结合。现在,Pydev(Eclipse)提示我:
QScintilla2 not installed
DLL load failed: Die angegebene Prozedur wurde nicht gefunden.
(翻译DE->;EN:找不到给定的过程)
qscintila2已经安装好了,我多次尝试以不同的版本重新安装。我不知道怎么和皮普解决这个问题。你知道吗
Windows 8
下的当前版本是:
对于想知道我以前对PyQt5/sip障碍的修复的人:Stackoverflow | Answer from user ntaro
如果你需要更多的信息,请告诉我!你知道吗
我卸载并安装了
订单:SIP->;PyQt5->;qscintila->;Pyforms
现在工作!你知道吗
相关问题 更多 >
编程相关推荐