Closed toth12 closed 4 years ago
Thanks for your patience on this.
I'm a little confused why you may be getting an error because I think this was resolved by #27. The code first tries to import from scipy.special
and only tries to import from scipy.misc
if it can't find logsumexp
there.
Here are the relevant lines of code currently.
Could it be something with your local package paths?
upon the import of corex I get the following error
Traceback (most recent call last): File "", line 1, in
File "/miniconda3/lib/python3.7/site-packages/corextopic/corextopic.py", line 25, in
from scipy.misc import logsumexp # Tested with 0.13.0
ImportError: cannot import name 'logsumexp' from 'scipy.misc' (/miniconda3/lib/python3.7/site-packages/scipy/misc/init.py)
solution might be here: https://github.com/cvxgrp/cvxpy/issues/640 (I can import: "from scipy.special import logsumexp")