Answer the question
In order to leave comments, you need to log in
Error import telebot on heroku, what to do?
I wrote a bot in python, it works on the local machine, the telebot library is installed. I'm running on heroku, I get an error related to the telebot library: ModuleNotFoundError: No module named 'telebot'. I included import telebot in the file. Who can tell what is the reason?
Answer the question
In order to leave comments, you need to log in
this is in your code:
from telebot import types
import telebot
this is what you do in console:
1) pip3 install telebot (pip3 install telebot --upgrade if installed and need new version)
2) pip3 freeze > requirements.txt
3) git push heroku origin (or whatever you have)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question