A
A
Alexey Borisov2020-10-06 13:37:30
Telegram
Alexey Borisov, 2020-10-06 13:37:30

How to fix File "main.py" error?

Error :

Traceback (most recent call last):
File "/home/zazaz/main.py", line 2, in
import telebot, sqlite3, time, datetime, requests, configparser, random
ModuleNotFoundError: No module named 'telebot'
>> >

The line where the error is:

import telebot, sqlite3, time, datetime, requests, configparser, random
from telebot import types, apihelper

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2020-10-06
@fox_12

pip install pyTelegramBotAPI

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question