Canopy中调用Numpy模块出错。报错如下:
import numpy as np
ImportError Traceback (most recent call last)
<ipython-input-21-5aae531012c6> in <module>()
----> 1 from numpy import *
C:\Users\Rancho.Rancho\AppData\Local\Enthought\Canopy32\User\lib\site-packages\numpy\__init__.py in <module>()
151 return loader(*packages, **options)
152
--> 153 from . import add_newdocs
154 __all__ = ['add_newdocs', 'ModuleDeprecationWarning']
155
C:\Users\Rancho.Rancho\AppData\Local\Enthought\Canopy32\User\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 ###############################################################################
C:\Users\Rancho.Rancho\AppData\Local\Enthought\Canopy32\User\lib\site-packages\numpy\lib\__init__.py in <module>()
15 from .ufunclike import *
16
---> 17 from . import scimath as emath
18 from .polynomial import *
19 #import convertcode
ImportError: cannot import name scimath
暂无解决方法,估计要重装软件。