Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

why I can't import this#4591

Unanswered
lolken15 asked this question inQ&A
Discussion options

I installed it using "pip install python-telegram-bot " but it writes me "No module named 'telegram' "

You must be logged in to vote

Replies: 2 comments

Comment options

Is that an IDE warning or is that an actual runtime error? IDEs commonly have the problem that the pip package is calledpython-telegram-bot, but the provided package is calledtelegram so that they can't make the link.

You must be logged in to vote
0 replies
Comment options

Hello, this might be happening due to an issue with the python-telegram-bot library installation. Try these steps:

  1. Check the installation: Use pip show python-telegram-bot to make sure it's installed properly.
  • Reinstall the library: Run:

pip uninstall python-telegram-bot
pip install python-telegram-bot

Test again: See if the issue is fixed.
If it still doesn't work, you can try using another library like telebot (pyTelegramBotAPI).

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
3 participants
@lolken15@Bibo-Joshi@sous4sec

[8]ページ先頭

©2009-2025 Movatter.jp