我试图在Python 3.5上导入scipy.stats。窗户10。
我一直得到ImportError:无法导入名称' ellipkm1'。
Scipy是最新的。 完整的错误代码 -
from scipy import stats
Traceback (most recent call last):
File "<pyshell#76>", line 1, in <module>
from scipy import stats
File "C:\Users\Oriel Perkal\AppData\Local\Programs\Python\Python35-32\lib\site-packages\scipy\stats\__init__.py", line 321, in <module>
from .stats import *
File "C:\Users\Oriel Perkal\AppData\Local\Programs\Python\Python35-32\lib\site-packages\scipy\stats\stats.py", line 180, in <module>
import scipy.special as special
File "C:\Users\Oriel Perkal\AppData\Local\Programs\Python\Python35-32\lib\site-packages\scipy\special\__init__.py", line 603, in <module>
from .basic import *
File "C:\Users\Oriel Perkal\AppData\Local\Programs\Python\Python35-32\lib\site-packages\scipy\special\basic.py", line 14, in <module>
from ._ufuncs import (ellipkm1, mathieu_a, mathieu_b, iv, jv, gamma, psi, zeta,
ImportError: cannot import name 'ellipkm1'
答案 0 :(得分:0)
我也有同样的问题
尝试安装Microsoft Visual C ++ Redistributable package。 请记住,根据您的python版本而不是OSVersion安装版本x64或x86。