Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Suggested branch for SimpleElastix (DLL load failed while importing _SimpleITK) #434

@davidweioct

Description

@davidweioct

Hello, does anyone install/update SimpleElastix recently on windows? Any suggestion on which branch I should use.

I tried the "master", "develop", and "azure-ci-simpleitk" branches, but unfortunately none of them works for me.

The latest test is on "develop" branch to avoid an error in OpenJPEG #425

I build with VS2019 without error (following figure)

image

However I was stopped at the last step with error ** DLL load failed while importing _SimpleITK: The specified module could not be found.**. I tried to debug following #372

  1. I do not have any other file in SimpleITK-build\Wrapping\Python\Packaging except for "setup.py.in"

  2. there is no _SimpleITK.pyd in SimpleITK-build\Wrapping\Python, while there is a _SimpleITK.pyd in SimpleITK-build\Wrapping\Python\SimpleITK. I tried by adding this folder with sys.path.append(). I was able to find the SimpleITK.py file but it does not work for _SimpleITK.pyd.

Can any one give some suggestions? An old version dates back to 1-2 years ago would also work for me.

Thank you in advance!

Package used:
windows 10, VS2019, CMake 3.21.0-rc3, Anaconda3-2021.05-Windows-x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions