Skip to content

Commit

Permalink
Cannot import name 'CuImage' from 'cucim' (#6744)
Browse files Browse the repository at this point in the history
Fixes Project-MONAI/tutorials#1464.

### Description
Seems a known issue in Cucim,
rapidsai/cucim#518.
Can be fixed when cucim >= 23.2.0.

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [ ] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

Signed-off-by: KumoLiu <yunl@nvidia.com>
  • Loading branch information
KumoLiu authored Jul 19, 2023
1 parent 3247db0 commit 42e3674
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mypy>=0.790
ninja
torchvision
psutil
cucim==22.8.1; platform_system == "Linux"
cucim>=23.2.0; platform_system == "Linux"
openslide-python==1.1.2
imagecodecs; platform_system == "Linux" or platform_system == "Darwin"
tifffile; platform_system == "Linux" or platform_system == "Darwin"
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ all =
tqdm>=4.47.0
lmdb
psutil
cucim>=22.8.1
cucim>=23.2.0
openslide-python==1.1.2
tifffile
imagecodecs
Expand Down Expand Up @@ -105,7 +105,7 @@ lmdb =
psutil =
psutil
cucim =
cucim>=22.8.1
cucim>=23.2.0
openslide =
openslide-python==1.1.2
tifffile =
Expand Down

0 comments on commit 42e3674

Please sign in to comment.