Skip to content

Commit 006b87a

Browse files
committed
conda did not init correctly
1 parent d5253ae commit 006b87a

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.gitpod.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,25 @@ tasks: # before and init tasks are pre-built: https://www.gitpod.io/docs/configu
33
- name: OpenBB SDK
44
before: |
55
mkdir -p ~/miniconda3
6-
curl -o ~/miniconda3/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
6+
curl -o ~/miniconda3/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
7+
init: |
78
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
9+
conda init
10+
gp sync-done condaenv
11+
command: rm -rf ~/miniconda3/miniconda.sh
12+
13+
- name: OpenBB SDK
1114
init: |
15+
gp sync-await condaenv
1216
conda create -n obb python=3.9.6 -y
1317
conda activate obb
1418
pip install openbb[all]==2.0.0
1519
command: conda activate obb
1620

1721

22+
23+
24+
1825
# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
1926
# ports:
2027
# - port: 3000

0 commit comments

Comments
 (0)