TRoboto / datacamp-downloader

Download your completed courses on Datacamp easily!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

sohancoder opened this issue · comments

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)