Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot import name Handler from telegram.ext #22

Open
ryanfish2022 opened this issue Apr 16, 2024 · 7 comments
Open

cannot import name Handler from telegram.ext #22

ryanfish2022 opened this issue Apr 16, 2024 · 7 comments

Comments

@ryanfish2022
Copy link

bot
I installed all dependencies, but cannot run, Can you help me see what's going on?

@ryanfish2022
Copy link
Author

bot1
new situation
I tried using vpn, checking token and id, still can't fix it

@hnavidan
Copy link
Owner

Looks like a problem with dependencies. The telegram API is unable to connect to the server.
Check if you have the correct version of python-telegram-bot and if you are able to use Telegram correctly. The VPN should be a system-wide tunnel.

@ryanfish2022
Copy link
Author

Dear Sir
I confirmed all the dependencies and it still doesn't work, even started flashing back
How should this be handled?

BTW,Also can this be used on the VFS website for China and Iceland?

@hnavidan
Copy link
Owner

You need to provide some screenshots or trace logs. Otherwise, I don't know what is going on.
And no, the locations you mentioned use the newer version of the system.

@HartboY10
Copy link

Hello,
I have the same issue
image

@ryanfish2022
Copy link
Author

Repeat as required for the specified version: python-telegram-bot

have a try bro

Hello, I have the same issue image

@gcomptedz
Copy link

C:\Users\LLCOOLR\VFSBot>vfsbot.py
C:\Users\LLCOOLR\AppData\Local\Programs\Python\Python312\Lib\site-packages\telegram\utils\request.py:49: UserWarning: python-telegram-bot is using upstream urllib3. This is allowed but not supported by python-telegram-bot maintainers.
warnings.warn(
after edit url & token & chatid & install dependecies still errors
any fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants