Skip to content

Commit 58eb80a

Browse files
committed
working conda env with openbb sdk
1 parent aff13d9 commit 58eb80a

File tree

3 files changed

+53
-50
lines changed

3 files changed

+53
-50
lines changed

.gitpod.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,23 @@ tasks: # before and init tasks are pre-built: https://www.gitpod.io/docs/configu
22

33
- name: OpenBB SDK
44
before: |
5-
curl -O ~/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-py39_4.12.0-Linux-x86_64.sh
6-
bash ~/miniconda.sh -b -p ${HOME}/miniconda
7-
conda init
8-
conda create -n obb python=3.9.6 -y
5+
mkdir -p ~/miniconda3
6+
curl -o ~/miniconda3/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
7+
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
8+
rm -rf ~/miniconda3/miniconda.sh
9+
~/miniconda3/bin/conda init bash
10+
~/miniconda3/bin/conda init zsh
911
init: |
12+
conda create -n obb python=3.9.6 -y
1013
conda activate obb
11-
pip install "openbb==2.0.0[all]"
14+
pip install openbb[all]==2.0.0
1215
command: conda activate obb
1316

1417

1518
# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
16-
ports:
17-
- port: 3000
18-
onOpen: open-preview
19+
# ports:
20+
# - port: 3000
21+
# onOpen: open-preview
1922

2023
github:
2124
prebuilds:

obb_04_forex.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"source": [
1616
"from openbb_terminal.sdk import openbb\n",
1717
"import pandas as pd\n",
18-
"%matplotlib inline"
18+
"#%matplotlib inline"
1919
]
2020
},
2121
{
@@ -816,7 +816,7 @@
816816
"orig_nbformat": 4,
817817
"vscode": {
818818
"interpreter": {
819-
"hash": "c19b3454282ae488795cb8df1015f868dabaca8e1bcf5b4e82202be3250b3d6b"
819+
"hash": "f46f5ba24616c02335620bceb7380b6a67156249e46c4faf8787b71514003428"
820820
}
821821
}
822822
},

obb_05_futures.ipynb

Lines changed: 40 additions & 40 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)