Skip to content

Commit 7895760

Browse files
committed
wip: if google colab add dependencies
1 parent 72b31a4 commit 7895760

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

colab_notebooks/07_1_LEARN_Modelling_and_predictions.ipynb

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
"execution_count": 67,
5+
"execution_count": null,
66
"metadata": {},
77
"outputs": [],
88
"source": [
9-
"%%capture \n",
10-
"!pip install h2o==3.38.0.4\n",
11-
"!pip install teemi"
9+
"%%capture\n",
10+
"import sys\n",
11+
"\n",
12+
"if 'google.colab' in sys.modules:\n",
13+
" !pip install h2o==3.38.0.4\n",
14+
" !pip install numpy==1.23.5 --force-reinstall\n",
15+
" !pip install teemi"
1216
]
1317
},
1418
{

0 commit comments

Comments
 (0)