Use pip3 instead of pip

This commit is contained in:
Dan 2018-02-27 18:15:37 +01:00
parent f7e3044939
commit 2c917fa9ae
2 changed files with 5 additions and 9 deletions

View File

@ -12,7 +12,7 @@ Installation
.. code-block:: bash .. code-block:: bash
$ pip install --upgrade tgcrypto $ pip3 install --upgrade tgcrypto
.. note:: Being a C extension for Python, TgCrypto is an optional but *highly recommended* dependency; when TgCrypto is .. note:: Being a C extension for Python, TgCrypto is an optional but *highly recommended* dependency; when TgCrypto is
not detected in your system, Pyrogram will automatically fall back to PyAES and will show you a warning. not detected in your system, Pyrogram will automatically fall back to PyAES and will show you a warning.

View File

@ -5,17 +5,13 @@ The most straightforward and recommended way to install or upgrade Pyrogram is b
.. code-block:: bash .. code-block:: bash
$ pip install --upgrade pyrogram $ pip3 install --upgrade pyrogram
Or, with TgCrypto_: Or, with TgCrypto_:
.. code-block:: bash .. code-block:: bash
$ pip install --upgrade pyrogram[tgcrypto] $ pip3 install --upgrade pyrogram[tgcrypto]
.. important::
Pyrogram only works on Python 3.3 or higher; if your **pip** points to Python 2.x use **pip3** instead.
Bleeding Edge Bleeding Edge
------------- -------------
@ -24,9 +20,9 @@ If you want the latest development version of the library, you can either instal
.. code-block:: bash .. code-block:: bash
$ pip install --upgrade git+https://github.com/pyrogram/pyrogram.git $ pip3 install --upgrade git+https://github.com/pyrogram/pyrogram.git
or manually, using: Or manually, using:
.. code-block:: bash .. code-block:: bash