You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Users/marito/Work/cacabot/example.py", line 1, in <module>
from telegram.client import Telegram
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/telegram/client.py", line 29, in <module>
from telegram.tdjson import TDJson
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/telegram/tdjson.py", line 8, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
I installed the module by adding python-telegram to requirements.txt, then using python3 -m pip install -r requirements.txt.
When I added setuptools to requirements.txt, it was able to import the module.
The text was updated successfully, but these errors were encountered:
I installed the module by adding
python-telegram
torequirements.txt
, then usingpython3 -m pip install -r requirements.txt
.When I added
setuptools
torequirements.txt
, it was able to import the module.The text was updated successfully, but these errors were encountered: