A
A
Andrey2018-10-19 01:30:36
Python
Andrey, 2018-10-19 01:30:36

How to fix python telegram bot startup error on Heroku?

The bot stubbornly refuses to run on Heroku
In the logs it gives ImportError: No module named six
Here are all the bot data (except for the token): https://github.com/Vertonger/words7

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valentine, 2018-10-19
@val_gr

Not an expert on Heroku, but I'm guessing it's because you're importing the module from the root of your app, but it's not listed anywhere for Heroku itself.
Try to solve the problem similar to this one https://stackoverflow.com/questions/12703388/herok...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question