SCECcode / pycsep

Tools to help earthquake forecast model developers build and evaluate their forecasts
https://docs.cseptesting.org
BSD 3-Clause "New" or "Revised" License
49 stars 23 forks source link

Error building pycsep on binder.org #219

Open pjmaechling opened 1 year ago

pjmaechling commented 1 year ago

We are evaluating use of mybinder.org for training purposes. This site does an automated build of pycsep repo. However, the main branch current exits during the build with the error below. Can we resolve this error to make mybinder.org a usable testing service?

Collecting multidict>=4.0 Downloading multidict-6.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (114 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.5/114.5 kB 147.1 MB/s eta 0:00:00 Building wheels for collected packages: cartopy Building wheel for cartopy (pyproject.toml): started Building wheel for cartopy (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error

× Building wheel for cartopy (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [287 lines of output]

:90: UserWarning: Unable to determine GEOS version. Ensure you have 3.7.2 or later installed, or installation may fail. running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/cartopy copying lib/cartopy/vector_transform.py -> build/lib.linux-x86_64-cpython-310/cartopy
wsavran commented 1 year ago

Is there a way to use conda to build things on mybinder.org? cartopy has some weird dependencies that are difficult to install with pip but easy with conda.