2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-25 19:38:31 +00:00
pyrogram/docs/source/start/QuickInstallation.rst
2018-04-11 23:18:17 +02:00

37 lines
813 B
ReStructuredText

Quick Installation
==================
The most straightforward and recommended way to install or upgrade Pyrogram is by using **pip**:
.. code-block:: bash
$ pip3 install --upgrade pyrogram
or, with TgCrypto_ (recommended):
.. code-block:: bash
$ pip3 install --upgrade pyrogram[tgcrypto]
Bleeding Edge
-------------
If you want the latest development version of the library, you can install it with:
.. code-block:: bash
$ pip3 install --upgrade git+https://github.com/pyrogram/pyrogram.git
Verifying
---------
To verify that Pyrogram is correctly installed, open a Python shell and try to import it.
If no error shows up you are good to go.
.. code-block:: bash
>>> import pyrogram
>>> pyrogram.__version__
'0.6.5'
.. _TgCrypto: https://docs.pyrogram.ml/resources/TgCrypto