CatPtain's picture
Upload 51 files
4ca09f3 verified

A newer version of the Gradio SDK is available: 6.2.0

Upgrade
metadata
title: Installation
sidebar_position: 1
description: This page outlines the installation of the openbb-charting extension.
keywords:
  - tutorial
  - OpenBB Platform
  - Installation
  - Python client
  - Fast API
  - getting started
  - extensions
  - charting
  - view
  - Plotly
  - toolkit
  - community
  - Plotly
  - OpenBBFigure
  - PyWry

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

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