Skip to content

Commit 6b1e5d3

Browse files
authored
Merge pull request #738 from thewtex/itk-package-detection
Itk package detection
2 parents f4f1c4f + 3ace387 commit 6b1e5d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/integrations/itk/SelectROI.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"# Install dependencies for this example\n",
3333
"import sys\n",
3434
"\n",
35-
"!{sys.executable} -m pip install -q pooch tqdm \"itk-io>=5.3.0\" \"itk-filtering>=5.3.0\" \"itkwidgets[all]>=1.0a41\" rich"
35+
"!{sys.executable} -m pip install -q pooch tqdm \"itk-io>=5.3.0\" \"itk-filtering>=5.3.0\" \"itkwidgets[all]>=1.0a48\" rich"
3636
]
3737
},
3838
{

itkwidgets/integrations/itk.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import importlib_metadata
55
HAVE_ITK = False
66
try:
7-
itk_version = importlib_metadata.version('itk')
7+
itk_version = importlib_metadata.version('itk-core')
88
if version.parse(itk_version) < version.parse('5.3.0'):
99
raise RuntimeError('itk 5.3 or newer is required. `pip install itk>=5.3.0`')
1010
HAVE_ITK = True

0 commit comments

Comments
 (0)