This issue is coming right now. why i don't know. But i was not facing this issue before 2 / 3 days.
This error is coming, when my 'import request' starts running. I have tried every single solution on internet but nothing seems to worked.
"C:\Program Files\Python310\python.exe"
"E:/IT Vedant/Rough Work/1mg.py"
Traceback (most recent call last):
File "E:\IT Vedant\Rough Work\1mg.py", line 2, in 
import requests
File "C:\Program Files\Python310\lib\site-packages\requests_init_.py", line 58, in 
from . import utils
File "C:\Program Files\Python310\lib\site-packages\requests\utils.py", line 26, in 
from .compat import parse_http_list as parse_list_header
File "C:\Program Files\Python310\lib\site-packages\requests\compat.py", line 7, in 
from .packages import chardet
File "C:\Program Files\Python310\lib\site-packages\requests\packages_init.py", line 3, in 
from . import urllib3
File "C:\Program Files\Python310\lib\site-packages\requests\packages\urllib3_init_.py", line 10, in 
from .connectionpool import (
File "C:\Program Files\Python310\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 38, in 
from .response import HTTPResponse
File "C:\Program Files\Python310\lib\site-packages\requests\packages\urllib3\response.py", line 5, in 
from .collections import HTTPHeaderDict
File "C:\Program Files\Python310\lib\site-packages\requests\packages\urllib3_collections.py", line 1, in 
from collections import Mapping, MutableMapping
ImportError: cannot import name 'Mapping' from 'collections' (C:\Program Files\Python310\lib\collections_init.py)
Process finished with exit code 1
You are using python 3.10
try changing from
from collections import Mapping
to from collections.abc import Mapping
Python : ImportError: cannot import name 'Mapping' from 'collections' (C:\Program Files\Python310\lib\collections\__init__.py)