ImportError: cannot import name'factorial' ~ ~ ~

I was angry when I tried to import statsmodels.

Maybe I couldn't import ss of scipy, so I tried upgrading scipy,

ImportError: cannot import name 'factorial'〜〜〜

I think there are many people who come here and get here. It's me.

Solution

pip install statsmodels==0.10.0rc2 --pre

I'm happy.

reference: https://github.com/statsmodels/statsmodels/issues/5747

Recommended Posts

ImportError: cannot import name'factorial' ~ ~ ~
ImportError: cannot import name'_check_sample_weight'
ImportError: cannot resolve import name
ImportError: cannot resolve import name
Cannot import name'NUMPY_MKL'Solution.
from scipy.misc If "ImportError: cannot import name imread" occurs in import imread, imresize