I used to execute my code normally without any problems. But today when I executed
import selenium
from selenium.webdrivermon.by import By
it's okay, but when I run this line, it's suddenly showing an error
from selenium import webdriver
_TYPE_REDUCE_RESULT = tuple[typing.Callable[..., object], tuple[object, ...]]
TypeError: 'type' object is not subscriptable
I tried to uninstall and install selenium
but i got the same error.
Any help please ?