vectorbt
vectorbt copied to clipboard
How to import Unauthorized from telegram.utils.helpers
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
Make sure that you're using python-telegram-bot versions lower than 20.