> For the complete documentation index, see [llms.txt](https://crypto.phbot.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://crypto.phbot.org/python/libs.md).

# Libs

## Included Libraries

* ta-lib
* tulipy
* numpy

## Windows

You will need to install Python 3.13.3 x86 if you want to install Python packages through pip.

* [Python 3.13.3 x86](https://www.python.org/downloads/release/python-3133/)

```
pip3 install --target=<path\to\bot>\plugins\python313\Lib ta-lib
```

## Linux

phBot is bundled with [Python 3.13.3 x64.](https://www.python.org/ftp/python/3.13.3/Python-3.13.3.tar.xz) You will have to compile Python yourself in order to install the correct version of packages with pip.

```bat
LD_LIBRARY_PATH=/opt/python3.13.3/lib /opt/python3.13.3/bin/pip3 install -U --target=/home/$USER/.phBot-crypto/plugins/python313/Lib ta-lib
```

**Building Python**

```
./configure --prefix=/opt/python3.13.3 \
--enable-shared \
--enable-optimizations \
--with-ensurepip=install
```

```
make && sudo make install
```
