title: Installation sidebar_position: 2
Installation
We provide a simple installation method in order to utilize the OpenBB SDK. You must first create an environment, which allows you to isolate the SDK from the rest of your system. It is our recommendation that you utilize a conda environment because there are optional features, such as forecast, that utilize libraries that are specifically sourced from conda-forge. Due to this, if you do not use a conda environment, you will not be able to use some of these features. As such, the installation steps will be written under the assumption that you are using conda.
Steps
:::note NOTE Make sure you meet all requirements before proceeding. :::
1. Install Miniconda
Download the x86_64 Miniconda for your respective system and follow along
with it's installation instructions. The Miniconda architecture MUST be
x86_64 in order to use certain features.
2. Create the virtual environment
conda create -n obb python=3.9.6 -y
3. Activate the virtual environment
conda activate obb
4. Install OpenBB SDK Core package
pip install openbb
5. (Optional) Install the Toolkits
5.1 If you would like to use the Portfolio Optimization features
:::note NOTE If on Apple Silicon Macs (M1/M2) you will need to install dependency from conda-forge first
conda install -c conda-forge cvxpy=1.2.2 -y
:::
Install the Portfolio Optimization Toolkit
pip install "openbb[optimization]"
5.2 If you would like ML Forecasting features
:::note NOTE If on Apple Silicon Macs (M1/M2) you will need to install the dependency from conda-forge first
conda install -c conda-forge lightgbm=3.3.3 -y
:::
Install the Forecasting Toolkit
pip install "openbb[prediction]"
5.3 If you would like to use both Portfolio Optimization and ML forecast features
:::note NOTE If on Apple Silicon Macs (M1/M2) you will need to install the dependencies from conda-forge first
conda install -c conda-forge lightgbm=3.3.3 cvxpy=1.2.2 -y
:::
Install all Toolkits
pip install "openbb[all]"
Congratulations! You have successfully installed openbb on an environment and are now able to begin using it. However, it is important to note that if you close out of your CLI you must re-activate your environment in order begin using it again. This can be done with the following:
conda activate obb
The OpenBB SDK can be imported to a Jupyter Notebook or any code editor with, from openbb_terminal.sdk import openbb as explained in the How to use the SDK guides. By following the above process, the OpenBB Terminal is automatically included as well which can be ran by typing openbb.
Metadata
Release files for repl-openbb 2.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| repl_openbb-2.1.7.tar.gz | 6.9 MB | Without provenance | Details for repl_openbb-2.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| repl_openbb-2.1.7-py3-none-any.whl | Python 3 | none | any | Details for repl_openbb-2.1.7-py3-none-any.whl |
Total release size: 14.3 MB
Release files / repl_openbb-2.1.7.tar.gz
| Download URL | repl_openbb-2.1.7.tar.gz |
|---|---|
| Size | 6.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1540db21978659ca8a7ab896c059b4a3c73bb83b55739f39e8dd7cf2bd6d9b5b
|
|
BLAKE2b-256 checksum How to use checksums |
0986bd1a8596fff1b6d9b6f170cc1c436c80fc065576c4ffea93a64d88a51135
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.12
|
Release files / repl_openbb-2.1.7-py3-none-any.whl
| Download URL | repl_openbb-2.1.7-py3-none-any.whl |
|---|---|
| Size | 7.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e42922523c05dd2aa9db863a083aaf146a1de0e7da46d8dce0dc9b50b8764d6
|
|
BLAKE2b-256 checksum How to use checksums |
7996e6fa51e74af3cd6d9d779245f96fdca5301aad095f7639959241c65c13bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.12
|
Security for repl-openbb 2.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.