You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the following error seems to be fixed months ago, whatever I do, I still have the error with my numpy-1.18.1 pymanopt-0.2.4 scipy-1.4.1 (force-reinstalled).
when
from pymanopt.manifolds import Grassmann
Traceback (most recent call last):
File "/Users/louis/anaconda3/envs/timeflux_rasr-env/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3319, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-3-8b1d9e518ecd>", line 1, in <module>
from pymanopt.manifolds import Grassmann
File "/Applications/PyCharm CE with Anaconda plugin.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "/Users/louis/anaconda3/envs/timeflux_rasr-env/lib/python3.7/site-packages/pymanopt/manifolds/__init__.py", line 11, in <module>
from .rotations import Rotations
File "/Applications/PyCharm CE with Anaconda plugin.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "/Users/louis/anaconda3/envs/timeflux_rasr-env/lib/python3.7/site-packages/pymanopt/manifolds/rotations.py", line 10, in <module>
from scipy.misc import comb
ImportError: cannot import name 'comb' from 'scipy.misc' (/Users/louis/anaconda3/envs/timeflux_rasr-env/lib/python3.7/site-packages/scipy/misc/__init__.py)
fix :
in pymanopt/manifolds/rotation.py change L10 to from scipy.special import comb (instead of from scipy.misc)
If you experience this error, please let me know by doing the following: from pymanopt.manifolds import Grassmann
Thanks
Also: it's been a while I'm using pymanopt and I got this error just today :/, what could have modified my pymanopt ? (I did merge master in the pymanopt branch and this error happened for the first time when I was using pytest)
The text was updated successfully, but these errors were encountered:
While the following error seems to be fixed months ago, whatever I do, I still have the error with my numpy-1.18.1 pymanopt-0.2.4 scipy-1.4.1 (force-reinstalled).
when
fix :
in pymanopt/manifolds/rotation.py change L10 to
from scipy.special import comb
(instead offrom scipy.misc
)The weirdest part: it has been fixed pymanopt/pymanopt#77
And my pymanopt is updated.
If you experience this error, please let me know by doing the following:
from pymanopt.manifolds import Grassmann
Thanks
Also: it's been a while I'm using pymanopt and I got this error just today :/, what could have modified my pymanopt ? (I did merge master in the pymanopt branch and this error happened for the first time when I was using pytest)
The text was updated successfully, but these errors were encountered: