Back to Openbb

Installation

openbb_platform/obbject_extensions/charting/installation.md

4.7.01.2 KB
Original Source

import HeadTitle from '@site/src/components/General/HeadTitle.tsx';

<HeadTitle title="Installation - Charting - Extensions | OpenBB Platform Docs" />

PyPI

To install the extension, run the following command in this folder:

bash
pip install openbb-charting

Find the latest version on PyPI.

Editable Mode

To install from source in editable mode, navigate into the folder, ~/openbb_platform/extensions/charting, and enter:

console
pip install -e .

After installation, the Python interface will automatically rebuild on initialization. This process can also be triggered manually with:

python
import openbb
openbb.build()

The Python interpreter may need to be restarted.

PyWry Dependency In Linux

When using Linux distributions, the PyWry dependency requires certain dependencies to be installed first.

  • Debian-based / Ubuntu / Mint: sudo apt install libwebkit2gtk-4.0-dev

  • Arch Linux / Manjaro: sudo pacman -S webkit2gtk

  • Fedora: sudo dnf install gtk3-devel webkit2gtk3-devel

If Rust (Cargo) is required, install it:

console
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh