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

ImportError: cannot import name 'VERSION' from 'telegram' (unknown location) #195

Closed
levimake opened this issue Jun 25, 2021 · 4 comments
Closed
Labels
stale wontfix This will not be worked on

Comments

@levimake
Copy link

.../venv/lib/python3.9/site-packages/telegram/client.py", line 19, in <module>
    from telegram import VERSION
ImportError: cannot import name 'VERSION' from 'telegram' (unknown location)

I am getting this error when try running the example given on the readme.md

Can anyone help ?

@alexander-akhmetov
Copy link
Owner

You probably have another telegram library installed. Try to confirm this by checking what package is installed (you can get the path with import telegram; telegram.__file__) or install python-telegram in an empty virtualenv and check that from telegram import VERSION works.

@stale
Copy link

stale bot commented Dec 26, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Dec 26, 2021
@stale
Copy link

stale bot commented Jun 24, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 24, 2022
@stale stale bot closed this as completed Jul 24, 2022
@guinanlin
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants