-
Notifications
You must be signed in to change notification settings - Fork 16
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
ImportError: DLL load failed while importing _pydfti #72
Comments
@JeroenBax Could you please be more specific? Did you do Do you have MKL library installed in your Python environment as well? |
Thanks for the quick reply, |
It may happen because, while importing |
Version 3.8.10 |
Using pip 22.1.2 I am getting an error:
Correcting that I get another error:
|
Yes, I got indeed the same errors, writing --index-url instead of --i and --extra-index-url instead of -extra-index-url, solves the error |
It does not for me:
|
You should type an extra minus sign before the -extra-index-url. So make it --extra-index-url. |
Please try python -c "import sysconfig, os, ctypes, glob; mkl_fft_dir = os.path.join(sysconfig.get_path('purelib'), 'mkl_fft'); lib = glob.glob(os.path.join(mkl_fft_dir, '_pydfti*')); print(ctypes.cdll.LoadLibrary(lib[0])) if lib else print('lib was empty')" For me, it outputs
This could shed additional light as to why the library fails to import. |
Thank you, it worked indeed. I will updated README in the repo |
Hi,
I installed the mkl_fft library via pip, when running my code I get the following error,
ImportError: DLL load failed while importing _pydfti: The specified module could not be found
Does anyone know what can cause this error?
Thanks in advance!
The text was updated successfully, but these errors were encountered: