mirror of
				https://github.com/LonamiWebs/Telethon.git
				synced 2025-11-04 01:47:27 +03:00 
			
		
		
		
	Update pip references with pip3 (#527)
This commit is contained in:
		
							parent
							
								
									1fd20ace2c
								
							
						
					
					
						commit
						6cb8f2e3da
					
				| 
						 | 
				
			
			@ -22,7 +22,7 @@ Installing
 | 
			
		|||
 | 
			
		||||
.. code:: sh
 | 
			
		||||
 | 
			
		||||
  pip install telethon
 | 
			
		||||
  pip3 install telethon
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Creating a client
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,7 +11,7 @@ Getting Started
 | 
			
		|||
Simple Installation
 | 
			
		||||
*******************
 | 
			
		||||
 | 
			
		||||
   ``pip install telethon``
 | 
			
		||||
   ``pip3 install telethon``
 | 
			
		||||
 | 
			
		||||
   **More details**: :ref:`installation`
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,21 +10,20 @@ Automatic Installation
 | 
			
		|||
 | 
			
		||||
To install Telethon, simply do:
 | 
			
		||||
 | 
			
		||||
    ``pip install telethon``
 | 
			
		||||
    ``pip3 install telethon``
 | 
			
		||||
 | 
			
		||||
If you get something like ``"SyntaxError: invalid syntax"`` or any other
 | 
			
		||||
error while installing/importing the library, it's probably because ``pip``
 | 
			
		||||
defaults to Python 2, which is not supported. Use ``pip3`` instead.
 | 
			
		||||
Needless to say, you must have Python 3 and PyPi installed in your system.
 | 
			
		||||
See https://python.org and https://pypi.python.org/pypi/pip for more.
 | 
			
		||||
 | 
			
		||||
If you already have the library installed, upgrade with:
 | 
			
		||||
 | 
			
		||||
    ``pip install --upgrade telethon``
 | 
			
		||||
    ``pip3 install --upgrade telethon``
 | 
			
		||||
 | 
			
		||||
You can also install the library directly from GitHub or a fork:
 | 
			
		||||
 | 
			
		||||
   .. code-block:: sh
 | 
			
		||||
 | 
			
		||||
        # pip install git+https://github.com/LonamiWebs/Telethon.git
 | 
			
		||||
        # pip3 install git+https://github.com/LonamiWebs/Telethon.git
 | 
			
		||||
        or
 | 
			
		||||
        $ git clone https://github.com/LonamiWebs/Telethon.git
 | 
			
		||||
        $ cd Telethon/
 | 
			
		||||
| 
						 | 
				
			
			@ -39,7 +38,7 @@ Manual Installation
 | 
			
		|||
1. Install the required ``pyaes`` (`GitHub`__ | `PyPi`__) and
 | 
			
		||||
   ``rsa`` (`GitHub`__ | `PyPi`__) modules:
 | 
			
		||||
 | 
			
		||||
    ``sudo -H pip install pyaes rsa``
 | 
			
		||||
    ``sudo -H pip3 install pyaes rsa``
 | 
			
		||||
 | 
			
		||||
2. Clone Telethon's GitHub repository:
 | 
			
		||||
   ``git clone https://github.com/LonamiWebs/Telethon.git``
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user