导入scipy.stats时出现RuntimeWarning

时间:2019-06-02 02:07:41

标签: scipy anaconda python-3.7

在导入scipy.stats时出现以下错误,如何解决此错误 我的版本是: '3.7.3(默认,Mar 27 2019,17:13:21)[MSC v.1915 64位(AMD64)]' Anaconda版本:2019.03内部版本:py37_0

import scipy.stats as stats
Traceback (most recent call last):

  File "<ipython-input-2-7e938f6e949f>", line 1, in <module>
    import scipy.stats as stats

  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\stats\__init__.py", line 367, in <module>
    from .stats import *

  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\stats\stats.py", line 172, in <module>
    import scipy.special as special

  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\special\__init__.py", line 641, in <module>
    from ._ufuncs import *

  File "__init__.pxd", line 918, in init scipy.special._ufuncs

RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. 
Expected 192 from C header, got 216 from PyObject

0 个答案:

没有答案