jgrss / geowombat

GeoWombat: Utilities for geospatial data

Home Page:https://geowombat.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ml install

mmann1123 opened this issue · comments

Trying to help resolve #216 but running into a likely easily fixed issue. As you suggested a while back I can do pip install --user -e ."[ml]" in my dockerfile. However I am getting an error now with the your sklearn fork. Maybe there's an easy work around?

RUN git clone https://github.com/jgrss/geowombat.git --branch jgrss/scales_216

RUN cd geowombat && pip install --user -e ."[ml]"
ERROR: Invalid requirement: 'sklearn-xarray@ git+https://github.com/jgrss/sklearn-xarray.git; extra == "ml"'
The command '/bin/sh -c cd geowombat && pip install --user -e ."[ml]"' returned a non-zero code: 1

Hmm, is your pip up to date? And does removing the strings help?

RUN pip install -U pip
RUN cd geowombat && pip install -e .[ml]

Huh yep that was it, figured since i was pulling the latest ubuntu docker image I didn't need to worry about that... apparently I did.