2022-02-19 19:56:51 +03:00
|
|
|
==================
|
|
|
|
Installation Guide
|
|
|
|
==================
|
|
|
|
|
2022-05-01 21:19:46 +03:00
|
|
|
.. meta::
|
|
|
|
:description: Installation of pyTelegramBotAPI
|
|
|
|
:keywords: ptba, pytba, pyTelegramBotAPI, installation, guide
|
|
|
|
|
2022-02-19 19:56:51 +03:00
|
|
|
|
|
|
|
Using PIP
|
|
|
|
----------
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
$ pip install pyTelegramBotAPI
|
|
|
|
|
|
|
|
Using pipenv
|
|
|
|
------------
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
$ pipenv install pyTelegramBotAPI
|
|
|
|
|
|
|
|
By cloning repository
|
|
|
|
---------------------
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
$ git clone https://github.com/eternnoir/pyTelegramBotAPI.git
|
|
|
|
$ cd pyTelegramBotAPI
|
|
|
|
$ python setup.py install
|
|
|
|
|
|
|
|
Directly using pip
|
|
|
|
------------------
|
|
|
|
.. code-block:: bash
|
2022-02-26 20:48:03 +03:00
|
|
|
|
2022-02-19 19:56:51 +03:00
|
|
|
$ pip install git+https://github.com/eternnoir/pyTelegramBotAPI.git
|
|
|
|
|
2022-02-26 20:48:03 +03:00
|
|
|
|
2022-02-19 19:56:51 +03:00
|
|
|
It is generally recommended to use the first option.
|
|
|
|
|
|
|
|
While the API is production-ready, it is still under development and it has regular updates, do not forget to update it regularly by calling:
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
$ pip install pytelegrambotapi --upgrade
|
|
|
|
|
|
|
|
|