summaryrefslogtreecommitdiffstats
path: root/website/content/sdk/faqs/import_errors.md
diff options
context:
space:
mode:
Diffstat (limited to 'website/content/sdk/faqs/import_errors.md')
-rw-r--r--website/content/sdk/faqs/import_errors.md40
1 files changed, 22 insertions, 18 deletions
diff --git a/website/content/sdk/faqs/import_errors.md b/website/content/sdk/faqs/import_errors.md
index 9b1688b0c97..e692b75d080 100644
--- a/website/content/sdk/faqs/import_errors.md
+++ b/website/content/sdk/faqs/import_errors.md
@@ -1,23 +1,24 @@
---
title: Import Errors
sidebar_position: 2
-description: This page provides solutions for common import errors when installing
+description:
+ This page provides solutions for common import errors when installing
the OpenBB SDK, including guidance on managing virtual environments, handling ModuleNotFoundError,
dealing with SSL certificate authorization, and configuring proxy connections.
keywords:
-- Import Errors
-- SciPy
-- ModuleNotFoundError
-- virtual environment
-- poetry install
-- conda activate
-- Jupyter
-- GitHub
-- SSL certificates
-- firewall
-- pip-system-certs
-- proxy connection
-- .env file
+ - Import Errors
+ - SciPy
+ - ModuleNotFoundError
+ - virtual environment
+ - poetry install
+ - conda activate
+ - Jupyter
+ - GitHub
+ - SSL certificates
+ - firewall
+ - pip-system-certs
+ - proxy connection
+ - .env file
---
import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
@@ -26,7 +27,8 @@ import HeadTitle from '@site/src/components/General/HeadTitle.tsx';
When packages not included in the OpenBB installation are installed to the same environment as the SDK, it is possible that an incompatible build of a specific library (like SciPy) has overwritten the existing and creating a conflict. In this event, try creating a new environment containing only the OpenBB dependencies.
-<details><summary>ModuleNotFoundError: No module named '______'</summary>
+<details>
+<summary mdxType="summary">ModuleNotFoundError: No module named '______'</summary>
Before troubleshooting please verify that the recommended installation instructions were followed. These errors often can occur when the virtual environment has not been activated, or the `poetry install` command was skipped. Activate the OpenBB virtual environment created during the installation process prior to launching or importing the SDK.
@@ -61,13 +63,14 @@ poetry install -E all
</details>
-<details><summary>SSL certificates fail to authorize</summary>
+<details>
+<summary mdxType="summary">SSL certificates fail to authorize</summary>
```console
SSL: CERTIFICATE_VERIFY_FAILED
```
-An error message, similar to above, is usually encountered while attempting to use the OpenBB Platform from behind a firewall. A workplace environment is typically the most common occurrence. Try connecting to the internet directly through a home network to test the connection. If using a work computer and/or network, we recommend speaking with the company's IT department prior to installing or running any software.
+An error message, similar to above, is usually encountered while attempting to use the OpenBB Platform from behind a firewall. A workplace environment is typically the most common occurrence. Try connecting to the internet directly through a home network to test the connection. If using a work computer and/or network, we recommend speaking with the company's IT department prior to installing or running any software.
A potential solution is to try:
@@ -77,7 +80,8 @@ pip install pip-system-certs
</details>
-<details><summary>Cannot connect due to proxy connection.</summary>
+<details>
+<summary mdxType="summary">Cannot connect due to proxy connection.</summary>
Find the `.env` file (located at the root of the user account folder: (`~/.openbb_terminal/.env`), and add a line at the bottom of the file with: