Closed liran-funaro closed 2 years ago
Workaround:
from scipy import special
from scipy import misc
for f in dir(special):
if not hasattr(misc, f):
setattr(misc, f, getattr(special, f))
from causality.inference.search import IC
from causality.inference.independence_tests import RobustRegressionTest
which statsmodels and scipy version are you on? I've failed to re-create the bug.
I honestly don't remember. It was over a year ago. But I checked my code again and I don't see the workaround there, so I guess I solved it somehow. Might be an incorrect scipy version.
This is the first time I try this package. When trying to import
RobustRegressionTest
I got the following error.This is the installation output stating the installed packages versions: