Leider kann das Script unter Verwendung von PyQt5 nicht geöffnet werden:
Code: Alles auswählen
import sys
from PyQt5.QtWidgets import QApplication, QMainWindow
from PyQt5 import uic
class MainWindow(QMainWindow):
def __init__(self):
super().__init__()
# Laden der UI-Datei
uic.loadUi('mainwindow_neu.ui', self)
self.show()
if __name__ == '__main__':
app = QApplication(sys.argv)
window = MainWindow()
sys.exit(app.exec_())
Code: Alles auswählen
AttributeError: type object 'Qt' has no attribute 'QFrame::Shape::StyledPanel'Die Nutzung des PyQt5-Designers ist leider auch fehlgeschlagen, die Installation von
Code: Alles auswählen
pip install pyqt5-toolsCode: Alles auswählen
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failedDanke - Stefan
