InsightSoftwareConsortium / ITKElastix

An ITK Python interface to elastix, a toolbox for rigid and nonrigid registration of images
Apache License 2.0
213 stars 23 forks source link

Latest ITKElastix crashes #265

Closed dzenanz closed 7 months ago

dzenanz commented 1 year ago

Similar to #258, it crashes silently on my computer. This is enough to trigger it:

print("Pre-loading ITK DLLs")
_ = itk.ElastixRegistrationMethod

I tried these versions:

Only the latest version crashes for me. This is Python 3.9.13 on Windows 11.

dzenanz commented 1 year ago

This is the output produced:

Connected to pydev debugger (build 232.10227.11)
Pre-loading ITK DLLs

Process finished with exit code -1073741819 (0xC0000005)
dzenanz commented 12 months ago

Starting from a fresh virtual environment did not help. Here is a log:

M:\Work>python -m venv .venv

M:\Work>.venv\Scripts\activate

(.venv) M:\Work>cd mri-segmentation

(.venv) M:\Work\mri-segmentation>pip install -r requirements.txt
Collecting itk-elastix>=0.18.0
  Using cached itk_elastix-0.19.1-cp39-cp39-win_amd64.whl (7.8 MB)
Collecting itk-iomeshstl>=2.3.0
  Using cached itk_iomeshstl-2.3.0-cp39-cp39-win_amd64.whl (279 kB)
Collecting itk-cuberille>=2.6.0
  Using cached itk_cuberille-2.6.0-cp39-cp39-win_amd64.whl (759 kB)
Collecting itkwidgets>=0.32.0
  Using cached itkwidgets-0.32.6-py2.py3-none-any.whl (3.4 MB)
Collecting jupyterlab>=2.2.0
  Downloading jupyterlab-4.0.9-py3-none-any.whl (9.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.2/9.2 MB 20.3 MB/s eta 0:00:00
Collecting numpy
  Downloading numpy-1.26.2-cp39-cp39-win_amd64.whl (15.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.8/15.8 MB 21.1 MB/s eta 0:00:00
Collecting matplotlib==3.3.1
  Using cached matplotlib-3.3.1-1-cp39-cp39-win_amd64.whl (8.9 MB)
Collecting tqdm
  Using cached tqdm-4.66.1-py3-none-any.whl (78 kB)
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3
  Downloading pyparsing-3.1.1-py3-none-any.whl (103 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.1/103.1 KB ? eta 0:00:00
Collecting kiwisolver>=1.0.1
  Using cached kiwisolver-1.4.5-cp39-cp39-win_amd64.whl (56 kB)
Collecting python-dateutil>=2.1
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting certifi>=2020.06.20
  Downloading certifi-2023.11.17-py3-none-any.whl (162 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.5/162.5 KB ? eta 0:00:00
Collecting cycler>=0.10
  Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB)
Collecting pillow>=6.2.0
  Downloading Pillow-10.1.0-cp39-cp39-win_amd64.whl (2.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 27.6 MB/s eta 0:00:00
Collecting itk>=5.4rc2
  Using cached itk-5.4rc2-cp39-cp39-win_amd64.whl (8.6 kB)
Collecting itk-io>=5.3.0
  Using cached itk_io-5.3.0-cp39-cp39-win_amd64.whl (8.6 MB)
Collecting ipywidgets<8.0.0
  Using cached ipywidgets-7.8.1-py2.py3-none-any.whl (124 kB)
Collecting ipympl>=0.4.1
  Using cached ipympl-0.9.3-py2.py3-none-any.whl (511 kB)
Collecting six
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting itk-numerics>=5.3.0
  Using cached itk_numerics-5.3.0-cp39-cp39-win_amd64.whl (20.0 MB)
Collecting itk-meshtopolydata>=0.10
  Using cached itk_meshtopolydata-0.10.0-cp39-cp39-win_amd64.whl (664 kB)
Collecting itk-core>=5.3.0
  Using cached itk_core-5.3.0-cp39-cp39-win_amd64.whl (36.4 MB)
Collecting itk-filtering>=5.3.0
  Using cached itk_filtering-5.3.0-cp39-cp39-win_amd64.whl (23.8 MB)
Collecting zstandard
  Downloading zstandard-0.22.0-cp39-cp39-win_amd64.whl (511 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 511.7/511.7 KB 16.2 MB/s eta 0:00:00
Collecting traitlets<5.7.0
  Using cached traitlets-5.6.0-py3-none-any.whl (107 kB)
Collecting notebook<6.5.0
  Downloading notebook-6.4.13-py3-none-any.whl (9.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.9/9.9 MB 19.8 MB/s eta 0:00:00
Collecting colorcet
  Using cached colorcet-3.0.1-py2.py3-none-any.whl (1.7 MB)
Collecting ipydatawidgets<4.3.3,>=4.0.1
  Using cached ipydatawidgets-4.3.2-py2.py3-none-any.whl (271 kB)
Collecting jupyter-lsp>=2.0.0
  Downloading jupyter_lsp-2.2.1-py3-none-any.whl (66 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.0/66.0 KB ? eta 0:00:00
Collecting notebook-shim>=0.2
  Using cached notebook_shim-0.2.3-py3-none-any.whl (13 kB)
Collecting jupyter-core
  Downloading jupyter_core-5.5.0-py3-none-any.whl (28 kB)
Collecting ipykernel
  Downloading ipykernel-6.27.1-py3-none-any.whl (114 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.6/114.6 KB ? eta 0:00:00
Collecting tomli
  Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting async-lru>=1.0.0
  Using cached async_lru-2.0.4-py3-none-any.whl (6.1 kB)
Collecting importlib-metadata>=4.8.3
  Downloading importlib_metadata-7.0.0-py3-none-any.whl (23 kB)
Collecting jupyterlab-server<3,>=2.19.0
  Downloading jupyterlab_server-2.25.2-py3-none-any.whl (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.9/58.9 KB ? eta 0:00:00
Collecting jupyter-server<3,>=2.4.0
  Downloading jupyter_server-2.11.2-py3-none-any.whl (380 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 380.0/380.0 KB 23.1 MB/s eta 0:00:00
Collecting packaging
  Using cached packaging-23.2-py3-none-any.whl (53 kB)
Collecting tornado>=6.2.0
  Downloading tornado-6.4-cp38-abi3-win_amd64.whl (436 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 437.0/437.0 KB 26.7 MB/s eta 0:00:00
Collecting jinja2>=3.0.3
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting colorama
  Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting typing-extensions>=4.0.0
  Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB)
Collecting zipp>=0.5
  Downloading zipp-3.17.0-py3-none-any.whl (7.4 kB)
Collecting traittypes>=0.2.0
  Using cached traittypes-0.2.1-py2.py3-none-any.whl (8.6 kB)
Collecting ipympl>=0.4.1
  Using cached ipympl-0.9.2-py2.py3-none-any.whl (510 kB)
  Using cached ipympl-0.9.1-py2.py3-none-any.whl (508 kB)
  Using cached ipympl-0.9.0-py2.py3-none-any.whl (508 kB)
  Using cached ipympl-0.8.8-py2.py3-none-any.whl (507 kB)
Collecting ipython<9
  Downloading ipython-8.18.1-py3-none-any.whl (808 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 808.2/808.2 KB 53.2 MB/s eta 0:00:00
Collecting ipython-genutils
  Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting comm>=0.1.3
  Downloading comm-0.2.0-py3-none-any.whl (7.0 kB)
Collecting widgetsnbextension~=3.6.6
  Using cached widgetsnbextension-3.6.6-py2.py3-none-any.whl (1.6 MB)
Collecting jupyterlab-widgets<3,>=1.0.0
  Using cached jupyterlab_widgets-1.1.7-py3-none-any.whl (295 kB)
Collecting itk-filtering>=5.3.0
  Using cached itk_filtering-5.4rc2-cp39-cp39-win_amd64.whl (24.3 MB)
Collecting itk-numerics>=5.3.0
  Using cached itk_numerics-5.4rc2-cp39-cp39-win_amd64.whl (20.6 MB)
Collecting itk-segmentation==5.4rc2
  Using cached itk_segmentation-5.4rc2-cp39-cp39-win_amd64.whl (5.2 MB)
Collecting itk-registration==5.4rc2
  Using cached itk_registration-5.4rc2-cp39-cp39-win_amd64.whl (9.5 MB)
Collecting itk-io>=5.3.0
  Using cached itk_io-5.4rc2-cp39-cp39-win_amd64.whl (8.5 MB)
Collecting itk-core>=5.3.0
  Using cached itk_core-5.4rc2-cp39-cp39-win_amd64.whl (37.5 MB)
Collecting MarkupSafe>=2.0
  Using cached MarkupSafe-2.1.3-cp39-cp39-win_amd64.whl (17 kB)
Collecting pyzmq>=24
  Downloading pyzmq-25.1.2-cp39-cp39-win_amd64.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 24.7 MB/s eta 0:00:00
Collecting anyio>=3.1.0
  Downloading anyio-4.1.0-py3-none-any.whl (83 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.9/83.9 KB ? eta 0:00:00
Collecting nbformat>=5.3.0
  Using cached nbformat-5.9.2-py3-none-any.whl (77 kB)
Collecting jupyter-server-terminals
  Using cached jupyter_server_terminals-0.4.4-py3-none-any.whl (13 kB)
Collecting prometheus-client
  Downloading prometheus_client-0.19.0-py3-none-any.whl (54 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.2/54.2 KB ? eta 0:00:00
Collecting argon2-cffi
  Using cached argon2_cffi-23.1.0-py3-none-any.whl (15 kB)
Collecting send2trash>=1.8.2
  Using cached Send2Trash-1.8.2-py3-none-any.whl (18 kB)
Collecting nbconvert>=6.4.4
  Downloading nbconvert-7.12.0-py3-none-any.whl (256 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 256.6/256.6 KB 15.4 MB/s eta 0:00:00
Collecting overrides
  Using cached overrides-7.4.0-py3-none-any.whl (17 kB)
Collecting pywinpty
  Downloading pywinpty-2.0.12-cp39-none-win_amd64.whl (1.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.4/1.4 MB 4.5 MB/s eta 0:00:00
Collecting websocket-client
  Downloading websocket_client-1.7.0-py3-none-any.whl (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.5/58.5 KB ? eta 0:00:00
Collecting jupyter-events>=0.9.0
  Downloading jupyter_events-0.9.0-py3-none-any.whl (18 kB)
Collecting terminado>=0.8.3
  Downloading terminado-0.18.0-py3-none-any.whl (14 kB)
Collecting jupyter-client>=7.4.4
  Downloading jupyter_client-8.6.0-py3-none-any.whl (105 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 105.9/105.9 KB ? eta 0:00:00
Collecting platformdirs>=2.5
  Downloading platformdirs-4.1.0-py3-none-any.whl (17 kB)
Collecting pywin32>=300
  Using cached pywin32-306-cp39-cp39-win_amd64.whl (9.3 MB)
Collecting jsonschema>=4.18.0
  Downloading jsonschema-4.20.0-py3-none-any.whl (84 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.7/84.7 KB ? eta 0:00:00
Collecting json5>=0.9.0
  Using cached json5-0.9.14-py2.py3-none-any.whl (19 kB)
Collecting requests>=2.31
  Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Collecting babel>=2.10
  Downloading Babel-2.13.1-py3-none-any.whl (10.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 24.8 MB/s eta 0:00:00
Collecting nest-asyncio>=1.5
  Downloading nest_asyncio-1.5.8-py3-none-any.whl (5.3 kB)
Collecting pyct>=0.4.4
  Using cached pyct-0.5.0-py2.py3-none-any.whl (15 kB)
Collecting matplotlib-inline>=0.1
  Using cached matplotlib_inline-0.1.6-py3-none-any.whl (9.4 kB)
Collecting debugpy>=1.6.5
  Downloading debugpy-1.8.0-cp39-cp39-win_amd64.whl (5.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.0/5.0 MB 20.0 MB/s eta 0:00:00
Collecting psutil
  Downloading psutil-5.9.6-cp37-abi3-win_amd64.whl (252 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 252.3/252.3 KB ? eta 0:00:00
Collecting sniffio>=1.1
  Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting exceptiongroup>=1.0.2
  Downloading exceptiongroup-1.2.0-py3-none-any.whl (16 kB)
Collecting idna>=2.8
  Downloading idna-3.6-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 KB ? eta 0:00:00
Collecting prompt-toolkit<3.1.0,>=3.0.41
  Downloading prompt_toolkit-3.0.41-py3-none-any.whl (385 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 385.5/385.5 KB 25.0 MB/s eta 0:00:00
Collecting decorator
  Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting jedi>=0.16
  Downloading jedi-0.19.1-py2.py3-none-any.whl (1.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 16.8 MB/s eta 0:00:00
Collecting stack-data
  Downloading stack_data-0.6.3-py3-none-any.whl (24 kB)
Collecting pygments>=2.4.0
  Downloading pygments-2.17.2-py3-none-any.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 18.6 MB/s eta 0:00:00
Collecting rpds-py>=0.7.1
  Using cached rpds_py-0.13.2-cp39-none-win_amd64.whl (189 kB)
Collecting referencing>=0.28.4
  Using cached referencing-0.31.1-py3-none-any.whl (25 kB)
Collecting jsonschema-specifications>=2023.03.6
  Downloading jsonschema_specifications-2023.11.2-py3-none-any.whl (17 kB)
Collecting attrs>=22.2.0
  Using cached attrs-23.1.0-py3-none-any.whl (61 kB)
Collecting rfc3339-validator
  Using cached rfc3339_validator-0.1.4-py2.py3-none-any.whl (3.5 kB)
Collecting python-json-logger>=2.0.4
  Using cached python_json_logger-2.0.7-py3-none-any.whl (8.1 kB)
Collecting rfc3986-validator>=0.1.1
  Using cached rfc3986_validator-0.1.1-py2.py3-none-any.whl (4.2 kB)
Collecting pyyaml>=5.3
  Using cached PyYAML-6.0.1-cp39-cp39-win_amd64.whl (152 kB)
Collecting mistune<4,>=2.0.3
  Downloading mistune-3.0.2-py3-none-any.whl (47 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.0/48.0 KB ? eta 0:00:00
Collecting pandocfilters>=1.4.1
  Using cached pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB)
Collecting nbclient>=0.5.0
  Downloading nbclient-0.9.0-py3-none-any.whl (24 kB)
Collecting defusedxml
  Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting tinycss2
  Using cached tinycss2-1.2.1-py3-none-any.whl (21 kB)
Collecting jupyterlab-pygments
  Downloading jupyterlab_pygments-0.3.0-py3-none-any.whl (15 kB)
Collecting beautifulsoup4
  Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
Collecting bleach!=5.0.0
  Downloading bleach-6.1.0-py3-none-any.whl (162 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.8/162.8 KB 1.1 MB/s eta 0:00:00
Collecting fastjsonschema
  Downloading fastjsonschema-2.19.0-py3-none-any.whl (23 kB)
Collecting param>=1.7.0
  Downloading param-2.0.1-py3-none-any.whl (113 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 113.4/113.4 KB 6.9 MB/s eta 0:00:00
Collecting urllib3<3,>=1.21.1
  Downloading urllib3-2.1.0-py3-none-any.whl (104 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.6/104.6 KB 5.9 MB/s eta 0:00:00
Collecting charset-normalizer<4,>=2
  Downloading charset_normalizer-3.3.2-cp39-cp39-win_amd64.whl (100 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.4/100.4 KB ? eta 0:00:00
Collecting argon2-cffi-bindings
  Using cached argon2_cffi_bindings-21.2.0-cp36-abi3-win_amd64.whl (30 kB)
Collecting webencodings
  Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting parso<0.9.0,>=0.8.3
  Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB)
Collecting jsonpointer>1.13
  Using cached jsonpointer-2.4-py2.py3-none-any.whl (7.8 kB)
Collecting uri-template
  Using cached uri_template-1.3.0-py3-none-any.whl (11 kB)
Collecting fqdn
  Using cached fqdn-1.5.1-py3-none-any.whl (9.1 kB)
Collecting isoduration
  Using cached isoduration-20.11.0-py3-none-any.whl (11 kB)
Collecting webcolors>=1.11
  Using cached webcolors-1.13-py3-none-any.whl (14 kB)
Collecting wcwidth
  Downloading wcwidth-0.2.12-py2.py3-none-any.whl (34 kB)
Collecting cffi>=1.0.1
  Downloading cffi-1.16.0-cp39-cp39-win_amd64.whl (181 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.6/181.6 KB 11.4 MB/s eta 0:00:00
Collecting soupsieve>1.2
  Using cached soupsieve-2.5-py3-none-any.whl (36 kB)
Collecting executing>=1.2.0
  Downloading executing-2.0.1-py2.py3-none-any.whl (24 kB)
Collecting pure-eval
  Using cached pure_eval-0.2.2-py3-none-any.whl (11 kB)
Collecting asttokens>=2.1.0
  Downloading asttokens-2.4.1-py2.py3-none-any.whl (27 kB)
Collecting pycparser
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting arrow>=0.15.0
  Downloading arrow-1.3.0-py3-none-any.whl (66 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.4/66.4 KB ? eta 0:00:00
Collecting types-python-dateutil>=2.8.10
  Downloading types_python_dateutil-2.8.19.14-py3-none-any.whl (9.4 kB)
Installing collected packages: webencodings, wcwidth, types-python-dateutil, pywin32, pure-eval, json5, ipython-genutils, fastjsonschema, zstandard, zipp, websocket-client, webcolors, urllib3, uri-template, typing-extensions, traitlets, tornado, tomli, tinycss2, soupsieve, sniffio, six, send2trash, rpds-py, rfc3986-validator, pyzmq, pyyaml, pywinpty, python-json-logger, pyparsing, pygments, pycparser, psutil, prompt-toolkit, prometheus-client, platformdirs, pillow, parso, param, pandocfilters, packaging, overrides, numpy, nest-asyncio, mistune, MarkupSafe, kiwisolver, jupyterlab-widgets, jupyterlab-pygments, jsonpointer, idna, fqdn, executing, exceptiongroup, defusedxml, decorator, debugpy, cycler, colorama, charset-normalizer, certifi, babel, attrs, traittypes, tqdm, terminado, rfc3339-validator, requests, referencing, python-dateutil, pyct, matplotlib-inline, jupyter-core, jinja2, jedi, itk-core, importlib-metadata, comm, cffi, bleach, beautifulsoup4, async-lru, asttokens, anyio, stack-data, matplotlib, jupyter-server-terminals, jupyter-client, jsonschema-specifications, itk-numerics, itk-meshtopolydata, itk-io, colorcet, arrow, argon2-cffi-bindings, jsonschema, itk-iomeshstl, itk-filtering, isoduration, ipython, argon2-cffi, nbformat, itk-segmentation, itk-registration, ipykernel, nbclient, jupyter-events, itk, nbconvert, itk-elastix, itk-cuberille, notebook, jupyter-server, widgetsnbextension, notebook-shim, jupyterlab-server, jupyter-lsp, jupyterlab, ipywidgets, ipympl, ipydatawidgets, itkwidgets
Successfully installed MarkupSafe-2.1.3 anyio-4.1.0 argon2-cffi-23.1.0 argon2-cffi-bindings-21.2.0 arrow-1.3.0 asttokens-2.4.1 async-lru-2.0.4 attrs-23.1.0 babel-2.13.1 beautifulsoup4-4.12.2 bleach-6.1.0 certifi-2023.11.17 cffi-1.16.0 charset-normalizer-3.3.2 colorama-0.4.6 colorcet-3.0.1 comm-0.2.0 cycler-0.12.1 debugpy-1.8.0 decorator-5.1.1 defusedxml-0.7.1 exceptiongroup-1.2.0 executing-2.0.1 fastjsonschema-2.19.0 fqdn-1.5.1 idna-3.6 importlib-metadata-7.0.0 ipydatawidgets-4.3.2 ipykernel-6.27.1 ipympl-0.8.8 ipython-8.18.1 ipython-genutils-0.2.0 ipywidgets-7.8.1 isoduration-20.11.0 itk-5.4rc2 itk-core-5.4rc2 itk-cuberille-2.6.0 itk-elastix-0.19.1 itk-filtering-5.4rc2 itk-io-5.4rc2 itk-iomeshstl-2.3.0 itk-meshtopolydata-0.10.0 itk-numerics-5.4rc2 itk-registration-5.4rc2 itk-segmentation-5.4rc2 itkwidgets-0.32.6 jedi-0.19.1 jinja2-3.1.2 json5-0.9.14 jsonpointer-2.4 jsonschema-4.20.0 jsonschema-specifications-2023.11.2 jupyter-client-8.6.0 jupyter-core-5.5.0 jupyter-events-0.9.0 jupyter-lsp-2.2.1 jupyter-server-2.11.2 jupyter-server-terminals-0.4.4 jupyterlab-4.0.9 jupyterlab-pygments-0.3.0 jupyterlab-server-2.25.2 jupyterlab-widgets-1.1.7 kiwisolver-1.4.5 matplotlib-3.3.1 matplotlib-inline-0.1.6 mistune-3.0.2 nbclient-0.9.0 nbconvert-7.12.0 nbformat-5.9.2 nest-asyncio-1.5.8 notebook-6.4.13 notebook-shim-0.2.3 numpy-1.26.2 overrides-7.4.0 packaging-23.2 pandocfilters-1.5.0 param-2.0.1 parso-0.8.3 pillow-10.1.0 platformdirs-4.1.0 prometheus-client-0.19.0 prompt-toolkit-3.0.41 psutil-5.9.6 pure-eval-0.2.2 pycparser-2.21 pyct-0.5.0 pygments-2.17.2 pyparsing-3.1.1 python-dateutil-2.8.2 python-json-logger-2.0.7 pywin32-306 pywinpty-2.0.12 pyyaml-6.0.1 pyzmq-25.1.2 referencing-0.31.1 requests-2.31.0 rfc3339-validator-0.1.4 rfc3986-validator-0.1.1 rpds-py-0.13.2 send2trash-1.8.2 six-1.16.0 sniffio-1.3.0 soupsieve-2.5 stack-data-0.6.3 terminado-0.18.0 tinycss2-1.2.1 tomli-2.0.1 tornado-6.4 tqdm-4.66.1 traitlets-5.6.0 traittypes-0.2.1 types-python-dateutil-2.8.19.14 typing-extensions-4.8.0 uri-template-1.3.0 urllib3-2.1.0 wcwidth-0.2.12 webcolors-1.13 webencodings-0.5.1 websocket-client-1.7.0 widgetsnbextension-3.6.6 zipp-3.17.0 zstandard-0.22.0
WARNING: You are using pip version 22.0.4; however, version 23.3.1 is available.
You should consider upgrading via the 'M:\Work\.venv\Scripts\python.exe -m pip install --upgrade pip' command.

(.venv) M:\Work\mri-segmentation>python
Python 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import itk
>>> _ = itk.ElastixRegistrationMethod

(.venv) M:\Work\mri-segmentation>

Non-Elastix related things work, e.g. image = itk.imread("C:/a/100.jpg").

thewtex commented 12 months ago

Note that itk-5.3.0 is being brought in, which is not compatible with itk-elastix 0.19.1.

dzenanz commented 12 months ago

That might be coming from my system installation. Let me try to clean it up to see whether that fixes the problem.

dzenanz commented 12 months ago

Clearing the system installation, and manually installing ITK 5.4RC2 first, did not help. Log:

M:\Work>python -m venv .venv

M:\Work>.venv\Scripts\activate

(.venv) M:\Work>cd mri-segmentation

(.venv) M:\Work\mri-segmentation>pip install itk==5.4rc2
Collecting itk==5.4rc2
  Using cached itk-5.4rc2-cp39-cp39-win_amd64.whl (8.6 kB)
Collecting numpy
  Using cached numpy-1.26.2-cp39-cp39-win_amd64.whl (15.8 MB)
Collecting itk-filtering==5.4rc2
  Using cached itk_filtering-5.4rc2-cp39-cp39-win_amd64.whl (24.3 MB)
Collecting itk-io==5.4rc2
  Using cached itk_io-5.4rc2-cp39-cp39-win_amd64.whl (8.5 MB)
Collecting itk-core==5.4rc2
  Using cached itk_core-5.4rc2-cp39-cp39-win_amd64.whl (37.5 MB)
Collecting itk-segmentation==5.4rc2
  Using cached itk_segmentation-5.4rc2-cp39-cp39-win_amd64.whl (5.2 MB)
Collecting itk-registration==5.4rc2
  Using cached itk_registration-5.4rc2-cp39-cp39-win_amd64.whl (9.5 MB)
Collecting itk-numerics==5.4rc2
  Using cached itk_numerics-5.4rc2-cp39-cp39-win_amd64.whl (20.6 MB)
Installing collected packages: numpy, itk-core, itk-numerics, itk-io, itk-filtering, itk-segmentation, itk-registration, itk
Successfully installed itk-5.4rc2 itk-core-5.4rc2 itk-filtering-5.4rc2 itk-io-5.4rc2 itk-numerics-5.4rc2 itk-registration-5.4rc2 itk-segmentation-5.4rc2 numpy-1.26.2
WARNING: You are using pip version 22.0.4; however, version 23.3.1 is available.
You should consider upgrading via the 'M:\Work\.venv\Scripts\python.exe -m pip install --upgrade pip' command.

(.venv) M:\Work\mri-segmentation>pip install -r requirements.txt
Collecting itk-elastix>=0.18.0
  Using cached itk_elastix-0.19.1-cp39-cp39-win_amd64.whl (7.8 MB)
Collecting itk-iomeshstl>=2.3.0
  Using cached itk_iomeshstl-2.3.0-cp39-cp39-win_amd64.whl (279 kB)
Collecting itk-cuberille>=2.6.0
  Using cached itk_cuberille-2.6.0-cp39-cp39-win_amd64.whl (759 kB)
Collecting itkwidgets>=0.32.0
  Using cached itkwidgets-0.32.6-py2.py3-none-any.whl (3.4 MB)
Collecting jupyterlab>=2.2.0
  Using cached jupyterlab-4.0.9-py3-none-any.whl (9.2 MB)
Requirement already satisfied: numpy in m:\Work\.venv\lib\site-packages (from -r requirements.txt (line 6)) (1.26.2)
Collecting matplotlib==3.3.1
  Using cached matplotlib-3.3.1-1-cp39-cp39-win_amd64.whl (8.9 MB)
Collecting tqdm
  Using cached tqdm-4.66.1-py3-none-any.whl (78 kB)
Collecting python-dateutil>=2.1
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting kiwisolver>=1.0.1
  Using cached kiwisolver-1.4.5-cp39-cp39-win_amd64.whl (56 kB)
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3
  Using cached pyparsing-3.1.1-py3-none-any.whl (103 kB)
Collecting certifi>=2020.06.20
  Using cached certifi-2023.11.17-py3-none-any.whl (162 kB)
Collecting cycler>=0.10
  Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB)
Collecting pillow>=6.2.0
  Using cached Pillow-10.1.0-cp39-cp39-win_amd64.whl (2.6 MB)
Requirement already satisfied: itk>=5.4rc2 in m:\Work\.venv\lib\site-packages (from itk-elastix>=0.18.0->-r requirements.txt (line 1)) (5.4rc2)
Requirement already satisfied: itk-io>=5.3.0 in m:\Work\.venv\lib\site-packages (from itk-iomeshstl>=2.3.0->-r requirements.txt (line 2)) (5.4rc2)
Collecting ipympl>=0.4.1
  Using cached ipympl-0.9.3-py2.py3-none-any.whl (511 kB)
Collecting itk-meshtopolydata>=0.10
  Using cached itk_meshtopolydata-0.10.0-cp39-cp39-win_amd64.whl (664 kB)
Collecting ipywidgets>=7.5.1
  Downloading ipywidgets-8.1.1-py3-none-any.whl (139 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.4/139.4 KB 4.2 MB/s eta 0:00:00
Collecting zstandard
  Using cached zstandard-0.22.0-cp39-cp39-win_amd64.whl (511 kB)
Collecting six
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: itk-filtering>=5.3.0 in m:\Work\.venv\lib\site-packages (from itkwidgets>=0.32.0->-r requirements.txt (line 4)) (5.4rc2)
Collecting ipywidgets>=7.5.1
  Using cached ipywidgets-7.8.1-py2.py3-none-any.whl (124 kB)
Requirement already satisfied: itk-numerics>=5.3.0 in m:\Work\.venv\lib\site-packages (from itkwidgets>=0.32.0->-r requirements.txt (line 4)) (5.4rc2)
Collecting colorcet
  Using cached colorcet-3.0.1-py2.py3-none-any.whl (1.7 MB)
Collecting ipydatawidgets<4.3.3,>=4.0.1
  Using cached ipydatawidgets-4.3.2-py2.py3-none-any.whl (271 kB)
Collecting traitlets<5.7.0
  Using cached traitlets-5.6.0-py3-none-any.whl (107 kB)
Requirement already satisfied: itk-core>=5.3.0 in m:\Work\.venv\lib\site-packages (from itkwidgets>=0.32.0->-r requirements.txt (line 4)) (5.4rc2)
Collecting notebook<6.5.0
  Using cached notebook-6.4.13-py3-none-any.whl (9.9 MB)
Collecting importlib-metadata>=4.8.3
  Using cached importlib_metadata-7.0.0-py3-none-any.whl (23 kB)
Collecting tornado>=6.2.0
  Using cached tornado-6.4-cp38-abi3-win_amd64.whl (436 kB)
Collecting jupyter-server<3,>=2.4.0
  Using cached jupyter_server-2.11.2-py3-none-any.whl (380 kB)
Collecting tomli
  Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting notebook-shim>=0.2
  Using cached notebook_shim-0.2.3-py3-none-any.whl (13 kB)
Collecting async-lru>=1.0.0
  Using cached async_lru-2.0.4-py3-none-any.whl (6.1 kB)
Collecting jupyterlab-server<3,>=2.19.0
  Using cached jupyterlab_server-2.25.2-py3-none-any.whl (58 kB)
Collecting jupyter-core
  Using cached jupyter_core-5.5.0-py3-none-any.whl (28 kB)
Collecting packaging
  Using cached packaging-23.2-py3-none-any.whl (53 kB)
Collecting jupyter-lsp>=2.0.0
  Using cached jupyter_lsp-2.2.1-py3-none-any.whl (66 kB)
Collecting ipykernel
  Using cached ipykernel-6.27.1-py3-none-any.whl (114 kB)
Collecting jinja2>=3.0.3
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting colorama
  Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting typing-extensions>=4.0.0
  Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB)
Collecting zipp>=0.5
  Using cached zipp-3.17.0-py3-none-any.whl (7.4 kB)
Collecting traittypes>=0.2.0
  Using cached traittypes-0.2.1-py2.py3-none-any.whl (8.6 kB)
Collecting ipython<9
  Using cached ipython-8.18.1-py3-none-any.whl (808 kB)
Collecting ipympl>=0.4.1
  Using cached ipympl-0.9.2-py2.py3-none-any.whl (510 kB)
  Using cached ipympl-0.9.1-py2.py3-none-any.whl (508 kB)
  Using cached ipympl-0.9.0-py2.py3-none-any.whl (508 kB)
  Using cached ipympl-0.8.8-py2.py3-none-any.whl (507 kB)
Collecting ipython-genutils
  Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting comm>=0.1.3
  Using cached comm-0.2.0-py3-none-any.whl (7.0 kB)
Collecting widgetsnbextension~=3.6.6
  Using cached widgetsnbextension-3.6.6-py2.py3-none-any.whl (1.6 MB)
Collecting jupyterlab-widgets<3,>=1.0.0
  Using cached jupyterlab_widgets-1.1.7-py3-none-any.whl (295 kB)
Requirement already satisfied: itk-segmentation==5.4rc2 in m:\Work\.venv\lib\site-packages (from itk>=5.4rc2->itk-elastix>=0.18.0->-r requirements.txt (line 1)) (5.4rc2)
Requirement already satisfied: itk-registration==5.4rc2 in m:\Work\.venv\lib\site-packages (from itk>=5.4rc2->itk-elastix>=0.18.0->-r requirements.txt (line 1)) (5.4rc2)
Collecting MarkupSafe>=2.0
  Using cached MarkupSafe-2.1.3-cp39-cp39-win_amd64.whl (17 kB)
Collecting anyio>=3.1.0
  Using cached anyio-4.1.0-py3-none-any.whl (83 kB)
Collecting terminado>=0.8.3
  Using cached terminado-0.18.0-py3-none-any.whl (14 kB)
Collecting argon2-cffi
  Using cached argon2_cffi-23.1.0-py3-none-any.whl (15 kB)
Collecting prometheus-client
  Using cached prometheus_client-0.19.0-py3-none-any.whl (54 kB)
Collecting pyzmq>=24
  Using cached pyzmq-25.1.2-cp39-cp39-win_amd64.whl (1.2 MB)
Collecting pywinpty
  Using cached pywinpty-2.0.12-cp39-none-win_amd64.whl (1.4 MB)
Collecting jupyter-events>=0.9.0
  Using cached jupyter_events-0.9.0-py3-none-any.whl (18 kB)
Collecting send2trash>=1.8.2
  Using cached Send2Trash-1.8.2-py3-none-any.whl (18 kB)
Collecting nbformat>=5.3.0
  Using cached nbformat-5.9.2-py3-none-any.whl (77 kB)
Collecting websocket-client
  Using cached websocket_client-1.7.0-py3-none-any.whl (58 kB)
Collecting nbconvert>=6.4.4
  Using cached nbconvert-7.12.0-py3-none-any.whl (256 kB)
Collecting overrides
  Using cached overrides-7.4.0-py3-none-any.whl (17 kB)
Collecting jupyter-client>=7.4.4
  Using cached jupyter_client-8.6.0-py3-none-any.whl (105 kB)
Collecting jupyter-server-terminals
  Using cached jupyter_server_terminals-0.4.4-py3-none-any.whl (13 kB)
Collecting pywin32>=300
  Using cached pywin32-306-cp39-cp39-win_amd64.whl (9.3 MB)
Collecting platformdirs>=2.5
  Using cached platformdirs-4.1.0-py3-none-any.whl (17 kB)
Collecting json5>=0.9.0
  Using cached json5-0.9.14-py2.py3-none-any.whl (19 kB)
Collecting babel>=2.10
  Using cached Babel-2.13.1-py3-none-any.whl (10.1 MB)
Collecting requests>=2.31
  Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Collecting jsonschema>=4.18.0
  Using cached jsonschema-4.20.0-py3-none-any.whl (84 kB)
Collecting nest-asyncio>=1.5
  Using cached nest_asyncio-1.5.8-py3-none-any.whl (5.3 kB)
Collecting pyct>=0.4.4
  Using cached pyct-0.5.0-py2.py3-none-any.whl (15 kB)
Collecting debugpy>=1.6.5
  Using cached debugpy-1.8.0-cp39-cp39-win_amd64.whl (5.0 MB)
Collecting matplotlib-inline>=0.1
  Using cached matplotlib_inline-0.1.6-py3-none-any.whl (9.4 kB)
Collecting psutil
  Using cached psutil-5.9.6-cp37-abi3-win_amd64.whl (252 kB)
Collecting idna>=2.8
  Using cached idna-3.6-py3-none-any.whl (61 kB)
Collecting exceptiongroup>=1.0.2
  Using cached exceptiongroup-1.2.0-py3-none-any.whl (16 kB)
Collecting sniffio>=1.1
  Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting decorator
  Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting prompt-toolkit<3.1.0,>=3.0.41
  Using cached prompt_toolkit-3.0.41-py3-none-any.whl (385 kB)
Collecting pygments>=2.4.0
  Using cached pygments-2.17.2-py3-none-any.whl (1.2 MB)
Collecting jedi>=0.16
  Using cached jedi-0.19.1-py2.py3-none-any.whl (1.6 MB)
Collecting stack-data
  Using cached stack_data-0.6.3-py3-none-any.whl (24 kB)
Collecting attrs>=22.2.0
  Using cached attrs-23.1.0-py3-none-any.whl (61 kB)
Collecting jsonschema-specifications>=2023.03.6
  Using cached jsonschema_specifications-2023.11.2-py3-none-any.whl (17 kB)
Collecting referencing>=0.28.4
  Using cached referencing-0.31.1-py3-none-any.whl (25 kB)
Collecting rpds-py>=0.7.1
  Using cached rpds_py-0.13.2-cp39-none-win_amd64.whl (189 kB)
Collecting pyyaml>=5.3
  Using cached PyYAML-6.0.1-cp39-cp39-win_amd64.whl (152 kB)
Collecting rfc3339-validator
  Using cached rfc3339_validator-0.1.4-py2.py3-none-any.whl (3.5 kB)
Collecting rfc3986-validator>=0.1.1
  Using cached rfc3986_validator-0.1.1-py2.py3-none-any.whl (4.2 kB)
Collecting python-json-logger>=2.0.4
  Using cached python_json_logger-2.0.7-py3-none-any.whl (8.1 kB)
Collecting defusedxml
  Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting jupyterlab-pygments
  Using cached jupyterlab_pygments-0.3.0-py3-none-any.whl (15 kB)
Collecting mistune<4,>=2.0.3
  Using cached mistune-3.0.2-py3-none-any.whl (47 kB)
Collecting tinycss2
  Using cached tinycss2-1.2.1-py3-none-any.whl (21 kB)
Collecting bleach!=5.0.0
  Using cached bleach-6.1.0-py3-none-any.whl (162 kB)
Collecting pandocfilters>=1.4.1
  Using cached pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB)
Collecting beautifulsoup4
  Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
Collecting nbclient>=0.5.0
  Using cached nbclient-0.9.0-py3-none-any.whl (24 kB)
Collecting fastjsonschema
  Using cached fastjsonschema-2.19.0-py3-none-any.whl (23 kB)
Collecting param>=1.7.0
  Using cached param-2.0.1-py3-none-any.whl (113 kB)
Collecting urllib3<3,>=1.21.1
  Using cached urllib3-2.1.0-py3-none-any.whl (104 kB)
Collecting charset-normalizer<4,>=2
  Using cached charset_normalizer-3.3.2-cp39-cp39-win_amd64.whl (100 kB)
Collecting argon2-cffi-bindings
  Using cached argon2_cffi_bindings-21.2.0-cp36-abi3-win_amd64.whl (30 kB)
Collecting webencodings
  Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting parso<0.9.0,>=0.8.3
  Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB)
Collecting isoduration
  Using cached isoduration-20.11.0-py3-none-any.whl (11 kB)
Collecting webcolors>=1.11
  Using cached webcolors-1.13-py3-none-any.whl (14 kB)
Collecting fqdn
  Using cached fqdn-1.5.1-py3-none-any.whl (9.1 kB)
Collecting jsonpointer>1.13
  Using cached jsonpointer-2.4-py2.py3-none-any.whl (7.8 kB)
Collecting uri-template
  Using cached uri_template-1.3.0-py3-none-any.whl (11 kB)
Collecting wcwidth
  Using cached wcwidth-0.2.12-py2.py3-none-any.whl (34 kB)
Collecting cffi>=1.0.1
  Using cached cffi-1.16.0-cp39-cp39-win_amd64.whl (181 kB)
Collecting soupsieve>1.2
  Using cached soupsieve-2.5-py3-none-any.whl (36 kB)
Collecting asttokens>=2.1.0
  Using cached asttokens-2.4.1-py2.py3-none-any.whl (27 kB)
Collecting executing>=1.2.0
  Using cached executing-2.0.1-py2.py3-none-any.whl (24 kB)
Collecting pure-eval
  Using cached pure_eval-0.2.2-py3-none-any.whl (11 kB)
Collecting pycparser
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting arrow>=0.15.0
  Using cached arrow-1.3.0-py3-none-any.whl (66 kB)
Collecting types-python-dateutil>=2.8.10
  Using cached types_python_dateutil-2.8.19.14-py3-none-any.whl (9.4 kB)
Installing collected packages: webencodings, wcwidth, types-python-dateutil, pywin32, pure-eval, json5, ipython-genutils, fastjsonschema, zstandard, zipp, websocket-client, webcolors, urllib3, uri-template, typing-extensions, traitlets, tornado, tomli, tinycss2, soupsieve, sniffio, six, send2trash, rpds-py, rfc3986-validator, pyzmq, pyyaml, pywinpty, python-json-logger, pyparsing, pygments, pycparser, psutil, prompt-toolkit, prometheus-client, platformdirs, pillow, parso, param, pandocfilters, packaging, overrides, nest-asyncio, mistune, MarkupSafe, kiwisolver, jupyterlab-widgets, jupyterlab-pygments, jsonpointer, idna, fqdn, executing, exceptiongroup, defusedxml, decorator, debugpy, cycler, colorama, charset-normalizer, certifi, babel, attrs, traittypes, tqdm, terminado, rfc3339-validator, requests, referencing, python-dateutil, pyct, matplotlib-inline, jupyter-core, jinja2, jedi, itk-meshtopolydata, importlib-metadata, comm, cffi, bleach, beautifulsoup4, async-lru, asttokens, anyio, stack-data, matplotlib, jupyter-server-terminals, jupyter-client, jsonschema-specifications, itk-iomeshstl, colorcet, arrow, argon2-cffi-bindings, jsonschema, isoduration, ipython, argon2-cffi, nbformat, ipykernel, nbclient, jupyter-events, itk-elastix, itk-cuberille, nbconvert, notebook, jupyter-server, widgetsnbextension, notebook-shim, jupyterlab-server, jupyter-lsp, jupyterlab, ipywidgets, ipympl, ipydatawidgets, itkwidgets
Successfully installed MarkupSafe-2.1.3 anyio-4.1.0 argon2-cffi-23.1.0 argon2-cffi-bindings-21.2.0 arrow-1.3.0 asttokens-2.4.1 async-lru-2.0.4 attrs-23.1.0 babel-2.13.1 beautifulsoup4-4.12.2 bleach-6.1.0 certifi-2023.11.17 cffi-1.16.0 charset-normalizer-3.3.2 colorama-0.4.6 colorcet-3.0.1 comm-0.2.0 cycler-0.12.1 debugpy-1.8.0 decorator-5.1.1 defusedxml-0.7.1 exceptiongroup-1.2.0 executing-2.0.1 fastjsonschema-2.19.0 fqdn-1.5.1 idna-3.6 importlib-metadata-7.0.0 ipydatawidgets-4.3.2 ipykernel-6.27.1 ipympl-0.8.8 ipython-8.18.1 ipython-genutils-0.2.0 ipywidgets-7.8.1 isoduration-20.11.0 itk-cuberille-2.6.0 itk-elastix-0.19.1 itk-iomeshstl-2.3.0 itk-meshtopolydata-0.10.0 itkwidgets-0.32.6 jedi-0.19.1 jinja2-3.1.2 json5-0.9.14 jsonpointer-2.4 jsonschema-4.20.0 jsonschema-specifications-2023.11.2 jupyter-client-8.6.0 jupyter-core-5.5.0 jupyter-events-0.9.0 jupyter-lsp-2.2.1 jupyter-server-2.11.2 jupyter-server-terminals-0.4.4 jupyterlab-4.0.9 jupyterlab-pygments-0.3.0 jupyterlab-server-2.25.2 jupyterlab-widgets-1.1.7 kiwisolver-1.4.5 matplotlib-3.3.1 matplotlib-inline-0.1.6 mistune-3.0.2 nbclient-0.9.0 nbconvert-7.12.0 nbformat-5.9.2 nest-asyncio-1.5.8 notebook-6.4.13 notebook-shim-0.2.3 overrides-7.4.0 packaging-23.2 pandocfilters-1.5.0 param-2.0.1 parso-0.8.3 pillow-10.1.0 platformdirs-4.1.0 prometheus-client-0.19.0 prompt-toolkit-3.0.41 psutil-5.9.6 pure-eval-0.2.2 pycparser-2.21 pyct-0.5.0 pygments-2.17.2 pyparsing-3.1.1 python-dateutil-2.8.2 python-json-logger-2.0.7 pywin32-306 pywinpty-2.0.12 pyyaml-6.0.1 pyzmq-25.1.2 referencing-0.31.1 requests-2.31.0 rfc3339-validator-0.1.4 rfc3986-validator-0.1.1 rpds-py-0.13.2 send2trash-1.8.2 six-1.16.0 sniffio-1.3.0 soupsieve-2.5 stack-data-0.6.3 terminado-0.18.0 tinycss2-1.2.1 tomli-2.0.1 tornado-6.4 tqdm-4.66.1 traitlets-5.6.0 traittypes-0.2.1 types-python-dateutil-2.8.19.14 typing-extensions-4.8.0 uri-template-1.3.0 urllib3-2.1.0 wcwidth-0.2.12 webcolors-1.13 webencodings-0.5.1 websocket-client-1.7.0 widgetsnbextension-3.6.6 zipp-3.17.0 zstandard-0.22.0
WARNING: You are using pip version 22.0.4; however, version 23.3.1 is available.
You should consider upgrading via the 'M:\Work\.venv\Scripts\python.exe -m pip install --upgrade pip' command.

(.venv) M:\Work\mri-segmentation>python
Python 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import itk
>>> _ = itk.ElastixRegistrationMethod

(.venv) M:\Work\mri-segmentation>
dzenanz commented 7 months ago

0.19.2 with ITK 5.4RC4 solves the crash.