赞
踩
seaborn 由whl文件安装
numpy由pip安装
import seaborn显示
In [2]: import seaborn
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-2-6f477838ac7f> in <module>()
----> 1 import seaborn
c:\python27\lib\site-packages\seaborn\__init__.py in <module>()
4
5 # Import seaborn objects
----> 6 from .rcmod import *
7 from .utils import *
8 from .palettes import *
c:\python27\lib\site-packages\seaborn\rcmod.py in <module>()
6 import matplotlib as mpl
7
----> 8 from . import palettes, _orig_rc_params
9
10
c:\python27\lib\site-packages\seaborn\palettes.py in <module>()
10 from .external.six.moves import range
11
---> 12 from .utils import desaturate, set_hls_values, get_color_cycle
13 from .xkcd_rgb import xkcd_rgb
14 from .crayons import crayons
c:\python27\lib\site-packages\seaborn\utils.py in <module>()
5
6 import numpy as np
----> 7 from scipy import stats
8 import pandas as pd
9 import matplotlib as mpl
c:\python27\lib\site-packages\scipy\__init__.py in <module>()
59 __all__ = ['test']
60
---> 61 from numpy._distributor_init import NUMPY_MKL # requires numpy+mkl
62
63 from numpy import show_config as show_numpy_config
ImportError: cannot import name NUMPY_MKL
重新安装numpy或seaborn,使俩者的安装来源一样
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。