Skip to main content

Installation

PyPI​

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

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:

pip install -e .

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

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:

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