jgrss / geowombat

GeoWombat: Utilities for geospatial data
https://geowombat.readthedocs.io
MIT License
184 stars 10 forks source link

ml install #218

Closed mmann1123 closed 2 years ago

mmann1123 commented 2 years ago

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
jgrss commented 2 years ago

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]
mmann1123 commented 2 years ago

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.