MTPyroger/docs/source/start/QuickInstallation.rst
2018-03-25 20:40:50 +02:00

31 lines
707 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
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 errors show up you are good to go.
.. code-block:: bash
>>> import pyrogram
>>> pyrogram.__version__
'0.6.4'
.. _TgCrypto: https://docs.pyrogram.ml/resources/TgCrypto