Closed Alex87a closed 8 months ago
Same problems , how i can fix it?
Traceback (most recent call last):
File "C:\Users\d3mos\OneDrive\Desktop\AmazonOffers-TelegramBot-main\bot.py", line 5, in
pip install python-telegram-bot==4.0rc1 and i have solved
Hi, when I go to run the bot I get the following errors:
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (1.26.9) or chardet (3.0.4) doesn't match a supported version! warnings.warn ("urllib3 ({}) or chardet ({}) doesn't match a supported"
Traceback (most recent call last): File "bot.py", line 5, in
from create_messages import create_item_html
File "/home/Alex/Scrivania/AmazonOffers-TelegramBot-main/create_messages.py", line 1, in
from telegram import InlineKeyboardButton, InlineKeyboardMarkup
ImportError: cannot import name 'InlineKeyboardButton' from 'telegram' (/usr/local/lib/python3.8/dist-packages/telegram/init.py)
How can I solve? I did the automatic installation with script.sh