Skip to main content

Installation and Updates

"Microsoft Visual C++ 14.0 or greater is required"

Download and install C++ Build Tools, restart the machine, then try again.

image

image

Do I have to use Miniconda?

There are certain dependencies which are sourced exclusively from the conda-forge directory. Other virtual environment managers, such a venv, may not solve the environment properly, resulting in failed package installations or incorrect builds. We highly recommend using Miniconda as the Python virtual environment manager for installing the OpenBB SDK.

How do I update my installation to the latest version?

The code is constantly being updated with new features and bug fixes. The process for updating will vary by the installation type:

  • For a pip installation, when a new version is published: pip install -U openbb[all]
  • Upgrade a cloned version of the GitHub repo with:
git fetch
git pull
poetry install -E all

Notes: If the cloned repository is a fork, pull from: git pull origin main, or, git pull origin develop. If there are changes locally to the files that conflict with the incoming changes from GitHub, stash them before pulling from main with git stash.

PyPi Nightly

The nightly build can be installed with:

pip install openbb-terminal-nightly[all]

Note: This version may not be stable and should not be used in a production setting.

"Microsoft Visual C++ 14.0 or greater is required"

Download and install C++ Build Tools, restart the machine, then try again.

Error: failed building wheel for bt

There may be an additional message that is printed from this error, stating: "Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools".

Download and install it. https://visualstudio.microsoft.com/visual-cpp-build-tools/

Mac and Linux users may also encounter a similar error because a C++ compiler is not installed. Install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Then run:

brew install gcc
brew install cmake

Additionally, Mac users should install Rosetta:

softwareupdate --install-rosetta
Miniconda3 will not install on ARM/Linux Raspberry Pi machines.

Refer to this issue on the Conda GitHub page.

Error: Library not loaded: '/usr/local/opt/libomp/lib/libomp.dylib'

This error is resolved by installing libomp from Homebrew:

brew install libomp

On this page