Coder Social home page Coder Social logo

Comments (6)

Bibo-Joshi avatar Bibo-Joshi commented on May 28, 2024

@olehrab Hi. Just to double check: have you seen the corresponding FAQ entry Why am I getting ImportError: cannot import name 'XY' from 'telegram'??

from python-telegram-bot.

dmytro1211 avatar dmytro1211 commented on May 28, 2024

Sure, I have checked that FAQ, I already did according the common guide, but all are failed.

from python-telegram-bot.

Bibo-Joshi avatar Bibo-Joshi commented on May 28, 2024

Okay. Assuming you run your script via

python main.py

Please show the output of

python -m pip list
python -m pip show telegram
python -m pip show python-telegram-bot 

Please also show the contents of the directory you call python main.py from.

from python-telegram-bot.

dmytro1211 avatar dmytro1211 commented on May 28, 2024

python -m pip list

Package Version


anyio 4.3.0
certifi 2024.2.2
h11 0.14.0
httpcore 1.0.5
httpx 0.27.0
idna 3.6
pip 24.0
python-telegram-bot 21.0.1
sniffio 1.3.1

from python-telegram-bot.

dmytro1211 avatar dmytro1211 commented on May 28, 2024

python -m pip show telegram
WARNING: Package(s) not found: telegram

python -m pip show python-telegram-bot

Name: python-telegram-bot
Version: 21.0.1
Summary: We have made you a wrapper you can't refuse
Home-page: https://python-telegram-bot.org/
Author: Leandro Toledo
Author-email: [email protected]
License: LGPLv3
Location: D:\apollo\telegram-bot\venv\Lib\site-packages
Requires: httpx
Required-by:

from python-telegram-bot.

github-actions avatar github-actions commented on May 28, 2024

This issue has been automatically closed due to inactivity. Feel free to comment in order to reopen or ask again in our Telegram support group at https://t.me/pythontelegrambotgroup.

from python-telegram-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.