zoukankan      html  css  js  c++  java
  • from scipy import spatial 出现 from .qhull import * ImportError: DLL load failed: The specified module could not be found. 错误

    错误描述:

    本人机器window8.1 64位,python2.7。

    Traceback (most recent call last):  
    
    File "C:/Users/Hamid/Documents/kodeyaro/kodefolani.py", line 41, in <module>  
    
    from scipy.spatial import Delaunay  
    
    File "C:Python27libsite-packagesscipyspatial\__init__.py", line 92, in module>  
    
     from .qhull import *  
    
    ImportError: DLL load failed: The specified module could not be found.

    解决:

    上爆栈网按照这个大哥http://stackoverflow.com/questions/17480779/importerror-when-importing-certain-modules-from-scipy说的把numpy换成了numpy-MKL ,还是不行。

    再把用pip安装的scipy卸了再去这个http://www.lfd.uci.edu/~gohlke/pythonlibs/上面安装.whl版本的就可以了。

    总结:

    以后安装什么python包还是去http://www.lfd.uci.edu/~gohlke/pythonlibs/这个上面找比较好。

  • 相关阅读:
    POJ 1673
    POJ 1375
    POJ 1654
    POJ 1039
    POJ 1066
    UVA 10159
    POJ 1410
    POJ 2653
    POJ 2398
    POJ 1556
  • 原文地址:https://www.cnblogs.com/wangyiming/p/6715024.html
Copyright © 2011-2022 走看看