[Python] Python Error while executing "from selenium import webdriver"

Discussão em 'Python' iniciado por Stack, Fevereiro 7, 2025.

  1. Stack

    Stack Membro Participativo

    I used to execute my code normally without any problems. But today when I executed

    import selenium
    from selenium.webdriver.common.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 ?

    Continue reading...

Compartilhe esta Página