Skip to content

Error running on PythonAnywhere. #44

Answered by aahnik
anymeofu asked this question in Q&A
Discussion options

You must be logged in to vote

The error that you have shown is not due to Python Anywhere.

You are most probably using python 2 (that's why showing syntax error).

Run python --version. It should be above 3.

Use the python3 command for safety everywhere.

Like: python3 forwarder.py


Note:

Python Anywhere free account does not allow connecting to certain servers like that of Telegram. There may be some workarounds to use this in the free tier. If I get to know them, I will surely post them.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@anymeofu
Comment options

Answer selected by aahnik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants