Closed StephenChan closed 2 years ago
scikit-image failed to build: ModuleNotFoundError: No module named 'numpy'
: https://github.com/beijbom/pyspacer/runs/5561549826
This old Travis build with the same versions of numpy and scikit-image succeeded: https://travis-ci.org/github/beijbom/pyspacer/jobs/725155186
That old build's pip was 19.3, current pip is 22.0.4. I'll see if 19.3 makes it work again, at least to help understand what's happening.
I told it to use pip 19.3 and it used pip 21.1.1 instead. No idea why, but I guess that route goes out the window.
We're on scikit-image 0.15.0. A comment in this issue suggests that scikit-image 0.17.x (but not 0.18.x) may improve the numpy import situation in setup.py
- so 0.17.x could be worth a shot: https://github.com/scikit-image/scikit-image/issues/1329
@beijbom I ended up moving PR #45's commit over to this PR, so that it's just a single PR which fixes the build.
@beijbom Thanks - could you also remove Travis CI from the "required statuses" for PRs? Should be in the repo settings.
(And forgot to update Dockerfile, oops)
@beijbom Reminder - could you 1) remove Travis CI from "required statuses" and 2) re-approve the PR? (I didn't realize adding another commit would dismiss your previous review as stale.)
Fixed. Sorry for the delay.
Np, thanks!
(Edit) PR summary:
Originally wanted to make this two PRs, but both tasks were required for the build to pass, which is required to merge PRs.
(Original PR text below:)