Python Version
Google Colab currently uses Python 3.10, while the dingo project requires Python 3.8, making it difficult to install dingo on Google Colab.
Outdated content
-
Dependence and installation:
|
"!apt-get install libsuitesparse-dev &> /dev/null\n", |
|
"%pip install sparseqr &> /dev/null\n", |
|
"%pip install Cython &> /dev/null\n", |
|
"%pip install cobra &> /dev/null\n", |
|
"%pip install kaleido &> /dev/null\n", |
|
"%pip install pyoptinterface[highs] &> /dev/null" |
|
"!python setup.py install --user &> /dev/null\n", |
The README recommends using poetry.
|
curl -sSL https://install.python-poetry.org | python3 - --version 1.3.2 |
|
poetry shell |
|
poetry install |
-
Ignored lpsolve Library:
|
You will also need to download and unzip the lpsolve library: |
|
``` |
|
wget https://sourceforge.net/projects/lpsolve/files/lpsolve/5.5.2.11/lp_solve_5.5.2.11_source.tar.gz |
|
tar xzvf lp_solve_5.5.2.11_source.tar.gz |
|
rm lp_solve_5.5.2.11_source.tar.gz |
|
``` |
Python Version
Google Colab currently uses
Python 3.10, while thedingoproject requiresPython 3.8, making it difficult to installdingoon Google Colab.Outdated content
Dependence and installation:
dingo/tutorials/dingo_tutorial.ipynb
Lines 462 to 467 in e89128c
dingo/tutorials/dingo_tutorial.ipynb
Line 573 in e89128c
The README recommends using
poetry.dingo/README.md
Lines 60 to 62 in e89128c
Ignored lpsolve Library:
dingo/README.md
Lines 44 to 49 in e89128c