PyQt5 PyQtSignature Eksikliğinden Kaynaklanan Hata

ana kodlar

https://s7.dosya.tc/server17/gnwvbr/Ders.rar.html

desigin kodları

https://s7.dosya.tc/server17/gnwvbr/Ders_tasarim.rar.html

hata kodu

AttributeError: 'function' object has no attribute '__pyqtSignature__'

During handling of the above exception, another exception occurred:

SystemError: <class 'UnicodeEncodeError'> returned a result with an error set

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:/Users/Güçlü/Desktop/EBA CANLI DERS FATİH İÇİN İNDİRİLENLER/BİLGİSAYAR/PyQt5 Arayüz Tasarımı/ders notları iki özel tasarım/Yeni klasör/Ders.py", line 76, in <module>
    pencere = a()
  File "c:/Users/Güçlü/Desktop/EBA CANLI DERS FATİH İÇİN İNDİRİLENLER/BİLGİSAYAR/PyQt5 Arayüz Tasarımı/ders notları iki özel tasarım/Yeni klasör/Ders.py", line 14, in __init__
    self.ui.setupUi(self)
  File "c:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\PyQt5 Arayüz Tasarımı\ders notları iki özel tasarım\Yeni klasör\Ders_tasarım.py", line 320, in setupUi
    QtCore.QMetaObject.connectSlotsByName(MainWindow)
SystemError: <built-in function connectSlotsByName> returned a result with an error set

ÇÖZDÜM
Bende pyqt5 kurulu değildi.

pip install PyQt5

dedim.

pip install selenium

dedim.

attığın iki dosyayı aynı dizine koyup çalıştırdım.

bana şu hatayı verdi.

PS C:\Users\Dell\Desktop\Yeni klasör> py Ders.py
Traceback (most recent call last):
  File "Ders.py", line 76, in <module>
    pencere = a()
  File "Ders.py", line 24, in __init__
    self.ui.pushButton_9.clicked.connect(self.ı_clicked_slot)
UnicodeEncodeError: 'ascii' codec can't encode character '\u0131' in position 0: ordinal not in range(128)
PS C:\Users\Dell\Desktop\Yeni klasör>

ben de ı ları i yaptım. Yani
Ders.py

[ . . . ]
        self.ui.pushButton_8.clicked.connect(self.h_clicked_slot)
        self.ui.pushButton_9.clicked.connect(self.i_clicked_slot) # burasi ı_clicked idi, i_clicked yaptım
        self.ui.pushButton_10.clicked.connect(self.j_clicked_slot)
[ . . . ]

Ders.py

[ . . . ]
    def h_clicked_slot(self):
        h = (r"C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\chromedriver.exe") 
        h.get("http://ogmmateryal.eba.gov.tr/panel/upload/etkilesimli/kitap/fenlisesifizik/9/unite3/index.html")

    def i_clicked_slot(self):  # ı_clicked idi i_clicked yaptım
        ı = (r"C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\chromedriver.exe") 
        ı.get("http://ogmmateryal.eba.gov.tr/panel/upload/etkilesimli/kitap/fenlisesifizik/9/unite4/index.html")

    def j_clicked_slot(self):
        j = (r"C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\chromedriver.exe")
        j.get("http://ogmmateryal.eba.gov.tr/panel/upload/etkilesimli/kitap/fenlisesifizik/9/unite5/index.html")

[ . . . ]

ve sonra uygulama çalıştı.

Bir de bir şey söyleyecem. yazdığın indirme fonksiyonları hatalı. string in get diye bir methodu yok.

Ders.py

from selenium import webdriver
from PyQt5.QtWidgets import*
from Ders_tasarım import Ui_MainWindow


class a(QMainWindow):


    def __init__(self):
        super().__init__()


        self.ui = Ui_MainWindow()
        self.ui.setupUi(self)

        self.ui.pushButton_1.clicked.connect(self.a_clicked_slot)
        self.ui.pushButton_2.clicked.connect(self.b_clicked_slot)
        self.ui.pushButton_3.clicked.connect(self.c_clicked_slot)
        self.ui.pushButton_4.clicked.connect(self.d_clicked_slot)
        self.ui.pushButton_5.clicked.connect(self.e_clicked_slot)
        self.ui.pushButton_6.clicked.connect(self.f_clicked_slot)
        self.ui.pushButton_7.clicked.connect(self.g_clicked_slot)
        self.ui.pushButton_8.clicked.connect(self.h_clicked_slot)
        self.ui.pushButton_9.clicked.connect(self.i_clicked_slot)
        self.ui.pushButton_10.clicked.connect(self.j_clicked_slot)
        self.ui.pushButton_11.clicked.connect(self.k_clicked_slot)


    def a_clicked_slot(self):
        a = webdriver.Chrome(r"C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\chromedriver.exe")
        a.get("http://ogmmateryal.eba.gov.tr/panel/upload/etkilesimli/kitap/fenlisesimatematik/9/unite1/index.html")
    
    def b_clicked_slot(self):
        b = webdriver.Chrome(r"C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\chromedriver.exe")
        b.get("http://ogmmateryal.eba.gov.tr/panel/upload/etkilesimli/kitap/fenlisesimatematik/9/unite2/index.html")

    def c_clicked_slot(self):
        c = webdriver.Chrome(r"C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\chromedriver.exe")
        c.get("http://ogmmateryal.eba.gov.tr/panel/upload/etkilesimli/kitap/fenlisesimatematik/9/unite3/index.html")

    def d_clicked_slot(self):
        d = webdriver.Chrome(r"C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\chromedriver.exe")
        d.get("http://ogmmateryal.eba.gov.tr/panel/upload/etkilesimli/kitap/fenlisesimatematik/9/unite4/index.html")

    def e_clicked_slot(self):
        e = webdriver.Chrome(r"C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\chromedriver.exe")
        e.get("http://ogmmateryal.eba.gov.tr/panel/upload/etkilesimli/kitap/fenlisesimatematik/9/unite5/index.html")
        
    def f_clicked_slot(self):
        f = webdriver.Chrome(r"C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\chromedriver.exe")
        f.get("http://ogmmateryal.eba.gov.tr/panel/upload/etkilesimli/kitap/fenlisesifizik/9/unite1/index.html")

    def g_clicked_slot(self):
        g = webdriver.Chrome(r"C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\chromedriver.exe")
        g.get("http://ogmmateryal.eba.gov.tr/panel/upload/etkilesimli/kitap/fenlisesifizik/9/unite2/index.html")

    def h_clicked_slot(self):
        h = webdriver.Chrome(r"C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\chromedriver.exe") 
        h.get("http://ogmmateryal.eba.gov.tr/panel/upload/etkilesimli/kitap/fenlisesifizik/9/unite3/index.html")

    def i_clicked_slot(self):
        i = webdriver.Chrome(r"C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\chromedriver.exe") 
        i.get("http://ogmmateryal.eba.gov.tr/panel/upload/etkilesimli/kitap/fenlisesifizik/9/unite4/index.html")

    def j_clicked_slot(self):
        j = webdriver.Chrome(r"C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\chromedriver.exe")
        j.get("http://ogmmateryal.eba.gov.tr/panel/upload/etkilesimli/kitap/fenlisesifizik/9/unite5/index.html")

    def k_clicked_slot(self):
        k = webdriver.Chrome(r"C:\Users\Güçlü\Desktop\EBA CANLI DERS FATİH İÇİN İNDİRİLENLER\BİLGİSAYAR\chromedriver.exe")
        k.get("http://ogmmateryal.eba.gov.tr/panel/upload/etkilesimli/kitap/fenlisesifizik/9/unite6/index.html")



uygulama = QApplication([])
pencere = a()
pencere.show()
uygulama.exec_()

Senin için koddaki bazı yaptığın yanlışlıkları düzelttim. değişkenlerde sadece ingilizce karakterler kullanmaya dikkat et