Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import _ITKPyBasePython failed #143

Closed
xiaoxifei1223 opened this issue May 20, 2020 · 8 comments
Closed

import _ITKPyBasePython failed #143

xiaoxifei1223 opened this issue May 20, 2020 · 8 comments

Comments

@xiaoxifei1223
Copy link

my Env:
win10 64 bits
python 3.6
itk 5.1.0

my err:
File "C:\Users\haoch\AppData\Local\Programs\Python\Python36\lib\site-packages\itk\Configuration..\ITKPyBasePython.py", line 15, in
import _ITKPyBasePython
ImportError: DLL load failed:

when I use itk.imread(path),then the error occured
what can I do?

@thewtex
Copy link
Member

thewtex commented May 21, 2020

Hello, I am working on a patch for this -- I will follow-up when it is ready to test.

@danarteaga
Copy link

Great - I have the same issue on Windows 10.

@thewtex
Copy link
Member

thewtex commented May 26, 2020

@xiaoxifei1223 @danarteaga please install 5.1.0.post1 with:

python -m pip install --upgrade itk

and let us know how it goes.

@danarteaga
Copy link

Unfortunately, this is still giving me the same error. This error was not present when I downgraded to itk v5.0.1.

@xiaoxifei1223
Copy link
Author

Thanks everyone, when I use itk v 5.0.0, the error don`t occure.

@danarteaga
Copy link

Just to clarify, I am still getting the error with 'itk==5.1.0.post1'

@thewtex
Copy link
Member

thewtex commented Jun 1, 2020

@danarteaga thanks for testing and the feedback. An update has been posted 5.1.0.post2. @xiaoxifei1223 @danarteaga please install 5.1.0.post2 with:

python -m pip install --upgrade itk

and let us know how it goes.

@danarteaga
Copy link

It works now, thanks!

@thewtex thewtex closed this as completed Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants