mirror of
				https://github.com/LonamiWebs/Telethon.git
				synced 2025-10-31 07:57:38 +03:00 
			
		
		
		
	Mention SyntaxError when installing via pip on the README
This commit is contained in:
		
							parent
							
								
									7844cd358e
								
							
						
					
					
						commit
						18e65cbf32
					
				|  | @ -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 | ||||
| ---------------------------- | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user