ecopy
ecopy copied to clipboard
ImportError: cannot import name 'comb'
from scipy.misc import comb
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-2-383354b6dee0> in <module>
----> 1 from scipy.misc import comb
ImportError: cannot import name 'comb'
scipy.misc.comb(*args, **kwds)
comb is deprecated! Importing comb from scipy.misc is deprecated in scipy 1.0.0. Use scipy.special.comb instead.
https://docs.scipy.org/doc/scipy-1.2.1/reference/generated/scipy.misc.comb.html
comb is now in scipy.special.comb. I think it was part of the v1.0.0 release. Your best bet is to fork this and make the change. Then ask the author to pull it back in.
this has been solved by the commit 0aa4cbc07d20fa8d6a2c8f69ce0c19ba6866803f merged in pull request #17 Installing ecopy directly from source thus solve this problem. One way to quickly do it:
git clone https://github.com/Auerilas/ecopy.git ecopy_source
pip install ecopy_source/