Findet PySide6 nicht
Verfasst: Sonntag 26. Dezember 2021, 10:27
Hi ich bin Julian und ein Anfänger bei der Python-Programmierung. Ich habe ein Problem, denn bei mir findet Python PySide6 nicht.
Ich habe alles in einem Ordner gespeichert und auch PySide6 installiert.
Habt ihr eine Idee was ich jetzt machen muss?
Hir ist der Text
# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'designerLOLBtO.ui'
##
## Created by: Qt User Interface Compiler version 6.1.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
from PySide6.QtCore import *
from PySide6.QtGui import *
from PySide6.QtWidgets import *
class Ui_Dialog(object):
def setupUi(self, Dialog):
if not Dialog.objectName():
Dialog.setObjectName(u"Dialog")
Dialog.resize(680, 451)
self.buttonBox = QDialogButtonBox(Dialog)
self.buttonBox.setObjectName(u"buttonBox")
self.buttonBox.setGeometry(QRect(30, 240, 341, 32))
self.buttonBox.setOrientation(Qt.Horizontal)
self.buttonBox.setStandardButtons(QDialogButtonBox.Cancel|QDialogButtonBox.Ok)
self.radioButton = QRadioButton(Dialog)
self.radioButton.setObjectName(u"radioButton")
self.radioButton.setGeometry(QRect(110, 130, 89, 20))
self.toolButton = QToolButton(Dialog)
self.toolButton.setObjectName(u"toolButton")
self.toolButton.setGeometry(QRect(370, 180, 22, 22))
self.treeView = QTreeView(Dialog)
self.treeView.setObjectName(u"treeView")
self.treeView.setGeometry(QRect(410, 240, 256, 192))
self.retranslateUi(Dialog)
self.buttonBox.accepted.connect(Dialog.accept)
self.buttonBox.rejected.connect(Dialog.reject)
QMetaObject.connectSlotsByName(Dialog)
# setupUi
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(QCoreApplication.translate("Dialog", u"Dialog", None))
self.radioButton.setText(QCoreApplication.translate("Dialog", u"RadioButton", None))
self.toolButton.setText(QCoreApplication.translate("Dialog", u"...", None))
# retranslateUi
Ich habe alles in einem Ordner gespeichert und auch PySide6 installiert.
Habt ihr eine Idee was ich jetzt machen muss?
Hir ist der Text
# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'designerLOLBtO.ui'
##
## Created by: Qt User Interface Compiler version 6.1.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
from PySide6.QtCore import *
from PySide6.QtGui import *
from PySide6.QtWidgets import *
class Ui_Dialog(object):
def setupUi(self, Dialog):
if not Dialog.objectName():
Dialog.setObjectName(u"Dialog")
Dialog.resize(680, 451)
self.buttonBox = QDialogButtonBox(Dialog)
self.buttonBox.setObjectName(u"buttonBox")
self.buttonBox.setGeometry(QRect(30, 240, 341, 32))
self.buttonBox.setOrientation(Qt.Horizontal)
self.buttonBox.setStandardButtons(QDialogButtonBox.Cancel|QDialogButtonBox.Ok)
self.radioButton = QRadioButton(Dialog)
self.radioButton.setObjectName(u"radioButton")
self.radioButton.setGeometry(QRect(110, 130, 89, 20))
self.toolButton = QToolButton(Dialog)
self.toolButton.setObjectName(u"toolButton")
self.toolButton.setGeometry(QRect(370, 180, 22, 22))
self.treeView = QTreeView(Dialog)
self.treeView.setObjectName(u"treeView")
self.treeView.setGeometry(QRect(410, 240, 256, 192))
self.retranslateUi(Dialog)
self.buttonBox.accepted.connect(Dialog.accept)
self.buttonBox.rejected.connect(Dialog.reject)
QMetaObject.connectSlotsByName(Dialog)
# setupUi
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(QCoreApplication.translate("Dialog", u"Dialog", None))
self.radioButton.setText(QCoreApplication.translate("Dialog", u"RadioButton", None))
self.toolButton.setText(QCoreApplication.translate("Dialog", u"...", None))
# retranslateUi