CosmiQ / solaris

CosmiQ Works Geospatial Machine Learning Analysis Toolkit
https://solaris.readthedocs.io
Apache License 2.0
411 stars 112 forks source link

[BUG]: (Problem installing Solaris on google Colab) #428

Open panchocuetodaniel opened 3 years ago

panchocuetodaniel commented 3 years ago

I am trying to install Solaris on Google Colab, but some problems appears when I install the dependences.

I install Conda first as the documentation says and also rtree and gdal, but at the end, when I do the pip install the result says that "InvalidVersionSpec: Invalid version '4.19.112+': empty version component"

%%bash MINICONDA_INSTALLER_SCRIPT=Miniconda3-4.5.4-Linux-x86_64.sh MINICONDA_PREFIX=/usr/local wget https://repo.continuum.io/miniconda/$MINICONDA_INSTALLER_SCRIPT chmod +x $MINICONDA_INSTALLER_SCRIPT ./$MINICONDA_INSTALLER_SCRIPT -b -f -p $MINICONDA_PREFIX

%%bash conda install --channel defaults conda python=3.6 --yes conda update --channel defaults --all --yes

!conda install -c conda-forge rtree gdal=2.4.1

!pip install solaris

I tried also installing the gdal>=3.0.2 as in the requirements before install Solaris but the problem remains.

!conda install -c conda-forge gdal=3.0.2

I haven`t been able to install Solaris yet because all of this dependences problems. Hope anyone can help! Thanks.

canoneod commented 2 years ago

having same problem of installing in colab here. But my case is with gdal and installation instructions seem not to work

cdhasselerharm commented 2 years ago

Anyone manage to get solaris running on google colab?

canoneod commented 2 years ago

@Chris-Has I failed installing in colab runtime, but I just manually included solaris library in a folder and it seems to work pretty well. I don't remember where I got this pre-built version, but here it is. https://github.com/canoneod/Extracting-Building-Footprints-from-Satellite-imagery/tree/main/libs