Python Error: ImportError: cannot import name ‘logsumexp’ from ‘scipy.misc’(Anaconda3\lib\site-packages\scipy\misc)

How to Solve Error:

ImportError: cannot import name ‘logsumexp’ from ‘scipy.misc’(Anaconda3\lib\site-packages\scipy\misc)
or
ImportError: cannot import name ‘comb’ and ‘logsumexp’

Directly go in and change the code inside the genisim package, but it is best not to change it indiscriminately. The reason is that there is no logsumexp after the update of scipy.misc package, the author I changed a code inside genisim.
Modify the following codes in ldamodel.py
from scipy.misc import logsumexp
to
from scipy.special import logsumexp
The approximate path is shown below, my gensim==3.0.1 is this version. But this error is also related to the version. I can see that there is a problem with line 56 of ldamodel.py in the gensim package, which should be updated.

Read More: