TRoboto / datacamp-downloader

Download your completed courses on Datacamp easily!
MIT License
178 stars 52 forks source link

ImportError: cannot import name 'Mapping' from 'collections' #65

Open sohancoder opened 1 year ago

sohancoder commented 1 year ago

This error showing every time when I try to log in.

File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\HabibSohan\AppData\Local\Programs\Python\Python311\Scripts\datacamp.exe__main.py", line 4, in File "C:\Users\HabibSohan\AppData\Local\Programs\Python\Python311\Lib\site-packages\datacamp_downloader__init__.py", line 3, in from .session import Session File "C:\Users\HabibSohan\AppData\Local\Programs\Python\Python311\Lib\site-packages\datacamp_downloader\session.py", line 6, in import undetected_chromedriver.v2 as uc File "C:\Users\HabibSohan\AppData\Local\Programs\Python\Python311\Lib\site-packages\undetected_chromedriver\init.py", line 31, in from . import v2 File "C:\Users\HabibSohan\AppData\Local\Programs\Python\Python311\Lib\site-packages\undetected_chromedriver\v2.py", line 21, in from .cdp import CDP File "C:\Users\HabibSohan\AppData\Local\Programs\Python\Python311\Lib\site-packages\undetected_chromedriver\cdp.py", line 6, in from collections import Mapping, Sequence ImportError: cannot import name 'Mapping' from 'collections' (C:\Users\HabibSohan\AppData\Local\Programs\Python\Python311\Lib\collections\init__.py)