Files
OpenBB/website/content/sdk/faqs/installation_updates.md
Disorder AA 5bd4ae0856 [Docs] Upgrade Docusaurus to v3 (#6386)
* da3: minor updates

* da3: upgrade react 18

* da3: fix md content

* da3: upgrade docusaurus 3, fix math in tables

* da3: fix DocSearch

* put search back

* da3: fix details / summary

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2024-05-10 11:17:15 +00:00

4.0 KiB
Vendored

title, sidebar_position, description, keywords
title sidebar_position description keywords
Installation and Updates 1 This page provides detailed instructions for the installation and updating processes for software, addressing frequently encountered installation issues. These instructions include resolving Microsoft Visual C++ 14.0 dependencies, benefits of using Miniconda for package management, methods to update installations, and solutions for other common installation errors.
Installation
Updates
Microsoft Visual C++ 14.0
Miniconda
pip install
PyPi Nightly
C++ Build Tools
Homebrew
bt wheel build failure
ARM/Linux Raspberry Pi machines

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

"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