Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
panchocuetodaniel opened this issue Apr 6, 2021 · 3 comments
Open

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

panchocuetodaniel opened this issue Apr 6, 2021 · 3 comments

Comments

@panchocuetodaniel
Copy link

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
Copy link

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

@cdhasselerharm
Copy link

Anyone manage to get solaris running on google colab?

@canoneod
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants