V
V
Vadim)))2021-11-07 23:13:45
Python
Vadim))), 2021-11-07 23:13:45

Why is the requests module not being imported?

I write: import requests.

Gives an error:

File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\util\selectors.py", line 14, in
from collections import namedtuple, Mapping
ImportError: cannot import name 'Mapping' from 'collections' (C:\Users\User\AppData\Local\Programs\Python\Python310\lib\collections\__init__.py)

I have python 10.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2021-11-07
@VadimCoder

requests does not support Python 3.10

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question