Answer the question
In order to leave comments, you need to log in
Error in Python import telebot how can I solve it?
Help with solving the problem, when starting the bot through the command line, the following error pops up:
line 1 in
import telebot
Import Error: cannot import name "Mapping" from "collections"
Answer the question
In order to leave comments, you need to log in
1) Downgrade Python from 3.10 to 3.8 (or lower).
2) Replace with
3) For such a statement of the question, they are kicked here! from collections import Mapping
from collections.abc import Mapping
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question