Skip to content

Commit eadffd2

Browse files
authored
Fix OptionalImportError: required package openslide is not installed (#8419)
The full error message was: `monai.utils.module.OptionalImportError: required package `openslide` is not installed or the version doesn't match requirement.` More details in: Project-MONAI/tutorials#1949 ### 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).
1 parent 9586071 commit eadffd2

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Diff for: requirements-dev.txt

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ torchvision
2929
psutil
3030
cucim-cu12; platform_system == "Linux" and python_version >= "3.9" and python_version <= "3.10"
3131
openslide-python
32+
openslide-bin
3233
imagecodecs; platform_system == "Linux" or platform_system == "Darwin"
3334
tifffile; platform_system == "Linux" or platform_system == "Darwin"
3435
pandas

Diff for: setup.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ all =
6464
psutil
6565
cucim-cu12; platform_system == "Linux" and python_version >= '3.9' and python_version <= '3.10'
6666
openslide-python
67+
openslide-bin
6768
tifffile; platform_system == "Linux" or platform_system == "Darwin"
6869
imagecodecs; platform_system == "Linux" or platform_system == "Darwin"
6970
pandas
@@ -120,6 +121,7 @@ cucim =
120121
cucim-cu12; platform_system == "Linux" and python_version >= '3.9' and python_version <= '3.10'
121122
openslide =
122123
openslide-python
124+
openslide-bin
123125
tifffile =
124126
tifffile; platform_system == "Linux" or platform_system == "Darwin"
125127
imagecodecs =

0 commit comments

Comments
 (0)