pwollstadt / IDTxl

The Information Dynamics Toolkit xl (IDTxl) is a comprehensive software package for efficient inference of networks and their node dynamics from multivariate time series data using information theory.
http://pwollstadt.github.io/IDTxl/
GNU General Public License v3.0
249 stars 76 forks source link

I meet an error when running demo_bivariate.py #46

Closed GoForit-007 closed 3 years ago

GoForit-007 commented 4 years ago

Traceback (most recent call last): File "E:/寒假工作/因果关系/python代码/demos/demo_bivariate_te.py", line 18, in results = network_analysis.analyse_network(settings=settings, data=data) File "E:\寒假工作\因果关系\python代码\idtxl\bivariate_te.py", line 155, in analyse_network settings, data, targets[t], sources[t]) File "E:\寒假工作\因果关系\python代码\idtxl\bivariate_te.py", line 271, in analyse_single_target self._initialise(settings, data, sources, target) File "E:\寒假工作\因果关系\python代码\idtxl\network_inference.py", line 370, in _initialise self._set_cmi_estimator() File "E:\寒假工作\因果关系\python代码\idtxl\network_analysis.py", line 209, in _set_cmi_estimator self._cmi_estimator = EstimatorClass(self.settings) File "E:\寒假工作\因果关系\python代码\idtxl\estimators_jidt.py", line 1319, in init super().init(CalcClass, settings) File "E:\寒假工作\因果关系\python代码\idtxl\estimators_jidt.py", line 321, in init self.calc = CalcClass() File "C:\Python37\lib\site-packages\jpype_jpackage.py", line 124, in call raise TypeError("Package {0} is not Callable".format(self._name)) TypeError: Package is not Callable

pwollstadt commented 4 years ago

Hi, we had some trouble after an Update of JPype1 (see #38), which may cause this error. Thanks to a fix by @jlizier this should work in the newest release (v1.1) or by downgrading JPype1 to v0.6.3 as described in the conda installation instructions.

Let me know if that helped. Best, Patricia

pwollstadt commented 3 years ago

Will close this issue due to inactivity. Fell free to reopen if necessary.