Files
OpenBB/website/content/sdk/faqs/installation_updates.md
Jerry Duluk f21d25436b Improved SEO of OpenBB Docs (#4774)
* Small typo

* Updated SEO for OpenBB Bot Docs

* Updated SEO for all SDK docs pages

* Updated all SEO for OpenBB Terminal Docs pages. Plus grammar edits

* Updated spelling edits for SDK and Terminal

* fix: headtitle component

* Updated Page titles for SDK and Terminal FAQ pages

* Updated page titles for all SDK docs pages

* Updated page titles for all Terminal Docs Pages (not reference pages)

* Updated page titles for Bot (not reference pages)

* Add | OpenBB Docs title for SDK and Terminal (#4883)

* add Terminal | OpenBB Docs

* SDK | OpenBB Docs added

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: jose-donato <zmcdonato@gmail.com>
2023-04-25 13:58:58 +00:00

3.2 KiB
Vendored

title, sidebar_position, description, keywords
title sidebar_position description keywords
Installation and Updates 1 Installation and Updates to the OpenBB SDK.
installation
installer
install
guide
mac
windows
linux
python
github
macos
how to
explanation
openbb sdk
pypi
miniconda
library
C++
library
error

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

Installation and Updates

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-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