I tried to import undetected_chromedriver
import undetected-chromedriver.v2 as uc
driver = uc.Chrome()
resp = driver.get("https://google.com")
Running above code throws following error.
File "C:\Users\Narmu\Desktop\Python_Workspace_Master\venv\lib\site-packages\undetected_chromedriver\cdp.py"
from collections import Mapping, Sequence
ImportError: cannot import name 'Mapping' from 'collections'
I search for about collections packages but it is not available in package list
I found a suggestion from in VS Code ImportError: cannot import name 'Mapping' from 'collections'?.
But collections.abc also not available in package list.
I use python verion 3.10.
To make this work, kindly suggest me.