Skip to content
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

Closed
davidweioct opened this issue Jul 14, 2021 · 1 comment

Comments

@davidweioct
Copy link

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

@davidweioct davidweioct changed the title Suggested branch for SimpleElastix Suggested branch for SimpleElastix (DLL load failed while importing _SimpleITK) Jul 14, 2021
@davidweioct
Copy link
Author

This seems to be a typo in doc. #353

Is the correct setup.py file locating in SimpleITK-build\Wrapping\Python rather than SimpleITK-build\Wrapping\Python\Packaging?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant