dask-image icon indicating copy to clipboard operation
dask-image copied to clipboard

`import dask_image.imread` fails with `scipy.__version__`=1.14.1

Open habi opened this issue 1 year ago • 6 comments
trafficstars

I'm working in a new conda environment, with the following environment.yaml file (mine contains more, but this is boiled down to nearly the minimum).

name: newenvironment
channels:
  - conda-forge
dependencies:
  - scipy
  - dask-image

In 'old' notebooks I was able to import dask-image with the call below

import dask_image.imread

(I know, this is probably not the way to do it, but it used to work for a long time :)

Now this fails with

AttributeError: `np.round_` was removed in the NumPy 2.0 release. Use `np.round` instead.

Environment:

  • Dask version: 2023.3.0
  • scipy version: 1.14.1
  • Python version: 3.13.0
  • Operating System: Linux Mint 21.3 Virginia
  • Install method (conda, pip, source): conda 24.7.1

habi avatar Oct 15 '24 10:10 habi