You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to build the Debian package, I also get the following error:
Exception occurred:
File "/usr/lib/python3/dist-packages/sphinx_gallery/gen_gallery.py", line 313, in sumarize_failing_examples
"\n" + "-" * 79)
ValueError: Here is a summary of the problems encountered when running the examples
Unexpected failing examples:
/build/skimage-0.14.1/doc/examples/xx_applications/plot_haar_extraction_selection_classification.py failed leaving traceback:
Traceback (most recent call last):
File "/build/skimage-0.14.1/doc/examples/xx_applications/plot_haar_extraction_selection_classification.py", line 79, in <module>
X = np.array(X.compute(scheduler='processes'))
File "/usr/lib/python3/dist-packages/dask/base.py", line 156, in compute
(result,) = compute(self, traverse=False, **kwargs)
File "/usr/lib/python3/dist-packages/dask/base.py", line 392, in compute
get=kwargs.pop('get', None))
File "/usr/lib/python3/dist-packages/dask/base.py", line 866, in get_scheduler
raise ValueError("Expected one of [distributed, %s]" % ', '.join(sorted(named_schedulers)))
ValueError: Expected one of [distributed, single-threaded, sync, synchronous, threading, threads]
Yep, that was a missing dependency. Thank you for the hint! With this, I can completely build the package. Since this is a Debian problem, I am closing it here.
Activity
hmaarrfk commentedon Dec 30, 2018
This seems to be because you don't have multiprocessing???
https://github.com/dask/dask/blob/master/dask/base.py#L810
hmaarrfk commentedon Dec 30, 2018
I think i get why. using the processes scheduler requires
cloudpickleMaybe try adding 'cloudpickle >= 0.2.1' dependency? in your build?
hmaarrfk commentedon Dec 30, 2018
As soon as I removed cloudpickle from my env, I was able to reproduce it, it started causing problems
olebole commentedon Dec 30, 2018
Yep, that was a missing dependency. Thank you for the hint! With this, I can completely build the package. Since this is a Debian problem, I am closing it here.
hmaarrfk commentedon Dec 30, 2018
cloudpickle is indeed a listed dependency for scikit-image 0.14.1
https://github.com/scikit-image/scikit-image/blob/v0.14.x/requirements/default.txt#L9
I'm going to move it to docs for master.