当前位置:  开发笔记 > 编程语言 > 正文

无法在PyCharm中加载DLL python模块。在IPython中工作正常

如何解决《无法在PyCharm中加载DLLpython模块。在IPython中工作正常》经验,为你挑选了0个好方法。

当我使用Enthought Python发行版随附的IPython时,可以很好地导入pyvision包。但是,当我尝试在PyCharm 1.2.1中导入pyvision时,出现以下错误

  File "C:\Python27\lib\site-packages\pyvision\__init__.py", line 146, in 
    from pyvision.types.img import Image,OpenCVToNumpy,NumpyToOpenCV
  File "C:\Python27\lib\site-packages\pyvision\types\img.py", line 43, in 
    import numpy
  File "C:\Python27\lib\site-packages\numpy\__init__.py", line 142, in 
    import add_newdocs
  File "C:\Python27\lib\site-packages\numpy\add_newdocs.py", line 9, in 
    from numpy.lib import add_newdoc
  File "C:\Python27\lib\site-packages\numpy\lib\__init__.py", line 13, in 
    from polynomial import *
  File "C:\Python27\lib\site-packages\numpy\lib\polynomial.py", line 17, in 
    from numpy.linalg import eigvals, lstsq
  File "C:\Python27\lib\site-packages\numpy\linalg\__init__.py", line 48, in 
    from linalg import *
  File "C:\Python27\lib\site-packages\numpy\linalg\linalg.py", line 23, in 
    from numpy.linalg import lapack_lite
ImportError: DLL load failed: The specified module could not be found.

我是否缺少Windows中的某些路径设置?

推荐阅读
勤奋的瞌睡猪_715
这个屌丝很懒,什么也没留下!
DevBox开发工具箱 | 专业的在线开发工具网站    京公网安备 11010802040832号  |  京ICP备19059560号-6
Copyright © 1998 - 2020 DevBox.CN. All Rights Reserved devBox.cn 开发工具箱 版权所有