vectorbt icon indicating copy to clipboard operation
vectorbt copied to clipboard

How to import Unauthorized from telegram.utils.helpers

Open kogriv opened this issue 1 year ago • 1 comments

I installed VBT (pip install -U "vectorbt[full]"). I'm trying to make an import. I get an error ImportError: cannot import name 'Unauthorized' from 'telegram.error' (C:\Users\user\anaconda3\envs\vector_bt\lib\site-packages\telegram\error.py)

how to solve the problem

kogriv avatar Jul 05 '23 04:07 kogriv

Make sure that you're using python-telegram-bot versions lower than 20.

polakowo avatar Jul 09 '23 11:07 polakowo