From 18e65cbf322b6903d0304994dbaccaa3b98f87ab Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Sat, 29 Jul 2017 10:38:31 +0200 Subject: [PATCH] Mention SyntaxError when installing via pip on the README --- README.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 1565670f..aa5a8290 100755 --- a/README.rst +++ b/README.rst @@ -58,11 +58,11 @@ On a terminal, issue the following command: sudo -H pip install telethon -You're ready to go. Oh, and upgrading is just as easy: +If you get something like "SyntaxError: invalid syntax" on the ``from error`` +line, it's because ``pip`` defaults to Python 2. Use `pip3` instead. -.. code:: sh - - sudo -H pip install --upgrade telethon +If you already have Telethon installed, +upgrade with ``pip install --upgrade telethon``! Installing Telethon manually ----------------------------