#My Bot Keeps Crashing
18 messages · Page 1 of 1 (latest)
N/A
my bot keep crashing: File "/app/HourlyBot.py", line 2, in <module>
from telegram.ext.Application import run_async
ModuleNotFoundError: No module named 'telegram.ext.Application'
Sounds like you’re missing a package from your requirements.txt
in requierments it says "python-telegram-bot
datetime
toml"
do you know what i could be missing?
Google says that's a common issue with python-telegram-bot. Try defining a specific version, the same that you have in your dev env
wum?Peps on Telegram told me they updated from V13 to V20 constantly.
and sent me this https://github.com/python-telegram-bot/python-telegram-bot/wiki/Transition-guide-to-Version-20.0
It’s an issue with the package, not with Railway. I won’t be able to help
I will note that pip installing telegram as well as python-telegram-bot is not the answer because they use the same namespace apparently
anyone help?
Did you try what A Dumb said?
what?
im not sure what's missing tho.
what to try?