AttributeError: module 'numbers' has no attribute 'Integral' hatası

Merhabalar, bir konuda yardıma ihtiyacım var. E-Ticaret sitesinden veri çekmek istiyorum. Pandas ile beraber aşağıdaki hatayı alıyorum.

4
Traceback (most recent call last):
File “c:\Users*\Desktop\python_temelleri\hbb1.py", line 3, in
import pandas as pd
File "C:\Users*
\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pandas_init_.py”, line 11, in
import(dependency)
File “C:\Users*\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\numpy_init_.py", line 140, in
from . import core
File "C:\Users*
\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\numpy\core_init_.py”, line 71, in
from . import numerictypes as nt
File “C:\Users*\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\numpy\core\numerictypes.py", line 594, in
_register_types()
File "C:\Users*
\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\numpy\core\numerictypes.py”, line 589, in _register_types
numbers.Integral.register(integer)
AttributeError: module ‘numbers’ has no attribute ‘Integral’
PS C:\Users\Eftal\Desktop\python_temelleri>


from bs4 import BeautifulSoup

import requests

import pandas as pd

r = requests.get (“Tüm Ürünler - Trendyol”)

soup = BeautifulSoup(r.content, “lxml”)

#print (soup.prettify())

ürünler = soup.find_all (“span”,attrs={“class”:“prdct-desc-cntnr-name”})

ürünler = soup.find_all (“div”,attrs={“class”:“prdct-desc-cntnr”})

for ürün in ürünler:

ürün = ürün.text

print (ürün)

print (r)