File size: 1,524 Bytes
4ca09f3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
---
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';
<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](https://pypi.org/project/openbb-charting/).
## 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
```
|