Replies: 1 comment
-
|
Hi, Could you please use Python3.8 instead of 3.5? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I followed the steps provided but I encountered an issue when I tried to run the main.py. Appreciate any form of advice as I am still learning how to programme.
(TradingView-Webhook-Bot) pi@raspberrypi:~/TradingView-Webhook-Bot $ python3 main.py
Traceback (most recent call last):
File "main.py", line 11, in
from handler import *
File "/home/pi/TradingView-Webhook-Bot/handler.py", line 8, in
from telegram import Bot
File "/home/pi/TradingView-Webhook-Bot/lib/python3.5/site-packages/telegram/init.py", line 21, in
from .base import TelegramObject
File "/home/pi/TradingView-Webhook-Bot/lib/python3.5/site-packages/telegram/base.py", line 42
_id_attrs: Tuple[Any, ...] = ()
^
SyntaxError: invalid syntax
Beta Was this translation helpful? Give feedback.
All reactions