pandas ImportError: DLL load failed: Le module spécifié est introuvable

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/38716945/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 01:43:34  来源:igfitidea点击:

ImportError: DLL load failed: Le module spécifié est introuvable

pythonpandasnumpyscipy

提问by ELM

I use Python 3.5.2 32-bit on Windows 64-bit. I get this error when I execute the project which uses Scipy, Pandas and Numpy:

我在 Windows 64 位上使用 Python 3.5.2 32 位。执行使用 Scipy、Pandas 和 Numpy 的项目时出现此错误:

Traceback (most recent call last):
  import scipy.stats as stat
 File "C:\Users\Mohammed\AppData\Local\Programs\Python\Python35-32\lib\site-        packages\scipy\stats\__init__.py", line 344, in <module>
  from .stats import *
 File "C:\Users\Mohammed\AppData\Local\Programs\Python\Python35-32\lib\site-  packages\scipy\stats\stats.py", line 173, in <module>
  import scipy.special as special
File "C:\Users\Mohammed\AppData\Local\Programs\Python\Python35-32\lib\site-packages\scipy\special\__init__.py", line 636, in <module>
 from ._ufuncs import *
File "scipy\special\_ufuncs.pyx", line 1, in init scipy.special._ufuncs    (scipy\special\_ufuncs.c:36522)
  ImportError: DLL load failed: Le module spécifié est introuvable.

I installed these packages:

我安装了这些软件包:

  • numpy-1.11.1+mkl-cp35-cp35m-win32.whl
  • scipy-0.18.0-cp35-cp35m-win32.whl
  • numpy-1.11.1+mkl-cp35-cp35m-win32.whl
  • scipy-0.18.0-cp35-cp35m-win32.whl

回答by Bogey Jammer

Open the most concerned .pyd file with dependency walker(the file should be somewhere in Python35-32\lib\site-packages\scipy\special\) to find which dll is missing and where it is expected to be.

使用dependency walker打开最受关注的.pyd 文件(该文件应该在Python35-32\lib\site-packages\scipy\special\ 中的某个位置)以查找缺少哪个 dll 以及它应该在哪里。