-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
telegram.utils of develop branche #472
Comments
same problem |
I have another error because of that:
|
All you need to do is to remove the second argument when creating a bot client.
And you can install the latest version of telegram client |
@alkhachatryan yes, by doing that change, the latest version of python-telegram-bot (e.g 20.8) can be installed. But, v20.x is a breaking version because it is built on top of asyncio module, and a lot of changes in app are required. In my opinion, it's not worth it. That's why I'm gonna freeze with 13.x version. |
@laliux all required changes to telegram with asyncio ARE fixed in my repo: |
i can use the master branche , and i want to try some other features of the devekop branche , but i got always this error , and i have tried "pip install telegram" and "pip install python-telegram-bot" , it doesn't help , and even i del telegram in my config.yml , i got still this error , my system is ubuntu-22.04.2-desktop-amd64 , so what should i do ?
test@test-virtual-machine:~/crypto-signal$ sudo docker run --rm -ti -v $PWD/app:/app dev/crypto-signals:latest
Traceback (most recent call last):
File "app.py", line 17, in
from notification import Notifier
File "/app/notification.py", line 35, in
from notifiers.telegram_client import TelegramNotifier
File "/app/notifiers/telegram_client.py", line 8, in
from telegram.utils.request import Request
ModuleNotFoundError: No module named 'telegram.utils'
The text was updated successfully, but these errors were encountered: