Answer the question
In order to leave comments, you need to log in
How to fix telebot import issue on os x?
Installed python 3, pip.
Installed TelegrambotAPI from sources (after downloading xCode):
git clone https://github.com/eternnoir/pyTelegramBotAPI.git
cd pyTelegramBotAPI/
python setup.py install
>>> import telebot
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/telebot/__init__.py", line 1353
@util.async()
^
SyntaxError: invalid syntax
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question