Description
Hi I was making a python algo trader bot, when I send a message from my telegram bot than he does a trade but I still get the same error and I cannot get it fixed and even co pilot cannot fix it.
I get this error: 2025-04-29 15:25:22.910928: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0
.
2025-04-29 15:25:28.360240: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0
.
Traceback (most recent call last):
File "C:\Users\silfo\Test_Telegram.py", line 206, in
main()
File "C:\Users\silfo\Test_Telegram.py", line 118, in main
telegram_bot_polling() # Start Telegram bot polling in a separate thread
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\silfo\Test_Telegram.py", line 110, in telegram_bot_polling
updater = Updater(token=TELEGRAM_API_TOKEN, use_context=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Updater.init() got an unexpected keyword argument 'token'
PS C:\Users\silfo>