Numpy未能导入多阵列jupyter笔记本/ anaconda

时间:2017-07-03 22:50:05

标签: python-3.x anaconda jupyter-notebook

过去三天我一直在努力解决这个问题。这是在用于Windows的Anaconda 3(32位)包中的Jupyter Notebook。当我将import numpy作为np

运行时,这就是我的错误
ImportError                               Traceback (most recent call last)
~\Anaconda3\lib\site-packages\numpy\core\__init__.py in <module>()
     15 try:
---> 16     from . import multiarray
     17 except ImportError as exc:

ImportError: DLL load failed: The specified procedure could not be found.

During handling of the above exception, another exception occurred:

ImportError                               Traceback (most recent call last)
<ipython-input-1-4ee716103900> in <module>()
----> 1 import numpy as np

~\Anaconda3\lib\site-packages\numpy\__init__.py in <module>()
    140         return loader(*packages, **options)
    141 
--> 142     from . import add_newdocs
    143     __all__ = ['add_newdocs',
    144                'ModuleDeprecationWarning',

~\Anaconda3\lib\site-packages\numpy\add_newdocs.py in <module>()
     11 from __future__ import division, absolute_import, print_function
     12 
---> 13 from numpy.lib import add_newdoc
     14 
     15 

############################################### ################################

~\Anaconda3\lib\site-packages\numpy\lib\__init__.py in <module>()
      6 from numpy.version import version as __version__
      7 
----> 8 from .type_check import *
      9 from .index_tricks import *
     10 from .function_base import *

~\Anaconda3\lib\site-packages\numpy\lib\type_check.py in <module>()
      9            'common_type']
     10 
---> 11 import numpy.core.numeric as _nx
     12 from numpy.core.numeric import asarray, asanyarray, array, isnan, zeros
     13 from .ufunclike import isneginf, isposinf

~\Anaconda3\lib\site-packages\numpy\core\__init__.py in <module>()
     24 Original error was: %s
     25 """ % (exc,)
---> 26     raise ImportError(msg)
     27 
     28 for envkey in env_added:

ImportError: 
Importing the multiarray numpy extension module failed.  Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control).  Otherwise reinstall numpy.

Original error was: DLL load failed: The specified procedure could not be 
found.

在完成所有这些之后,我使用了conda uninstall numpy并在单独的尝试中手动删除了该文件夹。我只想回到机器学习。任何可以提供的帮助都会很棒。这是在我使用conda root添加之后。

-Thanks

0 个答案:

没有答案