Canopy中调用Numpy模块出错。

来源:互联网 发布:怎么在手机看淘宝积分 编辑:程序博客网 时间:2024/05/08 16:34

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 convertcodeImportError: cannot import name scimath

暂无解决方法,估计要重装软件。

0 0
原创粉丝点击