V
V
veosz2021-07-10 18:23:30
Python
veosz, 2021-07-10 18:23:30

I can’t start the bot because it doesn’t see the pytelegrambotapi library, what should I do?

I am writing a telegram bot. Already registered pip3 install pytelegrambotapi,telebot and so on. the file contains imported libraries, I already checked, the pytelegrambotapi library is installed...
Error code:
Traceback (most recent call last):
File "/storage/emulated/0/DCIM/testbot.py", line 1, in
import pytelegrambotapi
ModuleNotFoundError: No module named 'pytelegrambotapi'

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2021-07-10
@veosz

Open at least examples of working with this library, how do you want to work with it, even if the name for import is misspelled?
import telebot
https://github.com/eternnoir/pyTelegramBotAPI#writ...

pip3 install pytelegrambotapi,telebot

telebot why? You are using pytelegrambotapi

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question