File "C:\Users\Anton\AppData\Local\Programs\Python\Python312\Lib\site-packages\telegram\utils\request.py", line 54
warnings.warn(
UserWarning: python-telegram-bot wasn't properly installed. Please refer to README.rst on how to properly install.
Traceback (most recent call last):
File "C:\Users\Anton\AppData\Local\Programs\Python\Python312\Lib\site-packages\telegram\utils\request.py", line 36, in <module>
import telegram.vendor.ptb_urllib3.urllib3 as urllib3
File "C:\Users\Anton\AppData\Local\Programs\Python\Python312\Lib\site-packages\telegram\vendor\ptb_urllib3\urllib3\__init__.py", line 7, in <module>
from .connectionpool import (
File "C:\Users\Anton\AppData\Local\Programs\Python\Python312\Lib\site-packages\telegram\vendor\ptb_urllib3\urllib3\connectionpool.py", line 11, in <module>
from .exceptions import (
File "C:\Users\Anton\AppData\Local\Programs\Python\Python312\Lib\site-packages\telegram\vendor\ptb_urllib3\urllib3\exceptions.py", line 2, in <module>
from .packages.six.moves.http_client import (
ModuleNotFoundError: No module named 'telegram.vendor.ptb_urllib3.urllib3.packages.six.moves'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Anton\Desktop\py.py", line 1, in <module>
from telegram.ext import Updater, CommandHandler, MessageHandler, Filters
File "C:\Users\Anton\AppData\Local\Programs\Python\Python312\Lib\site-packages\telegram\__init__.py", line 187, in <module>
from .bot import Bot
File "C:\Users\Anton\AppData\Local\Programs\Python\Python312\Lib\site-packages\telegram\bot.py", line 107, in <module>
from telegram.utils.request import Request
File "C:\Users\Anton\AppData\Local\Programs\Python\Python312\Lib\site-packages\telegram\utils\request.py", line 44, in <module>
import urllib3.contrib.appengine as appengine # type: ignore[no-redef]
ModuleNotFoundError: No module named 'urllib3.contrib.appengine'
Traceback (most recent call last):
File "C:\Users\Anton\Desktop\py.py", line 1, in <module>
from telegram.ext import Updater, CommandHandler, MessageHandler, Filters
ImportError: cannot import name 'Filters' from 'telegram.ext' (C:\Users\Anton\AppData\Local\Programs\Python\Python312\Lib\site-packages\telegram\ext\__init__.py)