dputhier / pygtftk

A python package and a set of shell commands to handle GTF files
GNU General Public License v3.0
45 stars 6 forks source link

ImportError: cannot import name 'factorial' #103

Closed dputhier closed 5 years ago

dputhier commented 5 years ago

Got the following issue upon installation:

    from statsmodels.distributions import genpoisson_p
  File "/Users/puthier/miniconda3/envs/pygtftk_test/lib/python3.6/site-packages/statsmodels/distributions/__init__.py", line 2, in <module>
    from .edgeworth import ExpandedNormal
  File "/Users/puthier/miniconda3/envs/pygtftk_test/lib/python3.6/site-packages/statsmodels/distributions/edgeworth.py", line 7, in <module>
    from scipy.misc import factorial
ImportError: cannot import name 'factorial'
dputhier commented 5 years ago

Fixed using:

python -m pip install scipy==1.2 --upgrade

@guillaumecharbonnier this may indicate that with the upcoming version we should take care about scipy version.