w1ld3r / crypto-signal

The #1 Automated Technical Analysis (TA) & Algo. Trading tool for Coinbase, Bittrex, Binance, and more! (Track over 500+ coins)
http://cryptosignal.dev
MIT License
76 stars 37 forks source link

[BUG] ModuleNotFoundError: No module named 'telegram.utils' #66

Open MojoMoe opened 8 months ago

MojoMoe commented 8 months ago

Describe the bug Getting this error when I run docker-compose up --build

app-1 | ModuleNotFoundError: No module named 'telegram.utils' app-1 exited with code 1

To Reproduce Steps to reproduce the behavior:

Install all dependencies as per requirements files run docker-compose up --build

config.yml Setup according to - https://github.com/w1ld3r/crypto-signal/blob/develop/docs/config.md



**Machine**
Windows 11 Pro
crypto-signal branch - Developer
Docker version v24.0.7
alkhachatryan commented 6 months ago

All you need to do is to remove the second argument when creating a bot client. In init of TelegramNotifier just have this, instead of creation with Request argument:

self.bot = telegram.Bot(token=token)

And you can install the latest version of telegram client