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

Can't use plot_network function #106

Closed 1191828365 closed 10 months ago

1191828365 commented 11 months ago

Description

I encountered an error when running the code plot_network(results=results, weights='max_te_lag', fdr=False) in example Your first Information Network Inference with IDTxl .

Expected Behavior

Get a network plot.

Actual Behavior

Got an error after I inputed plot_network(results=results, weights='max_te_lag', fdr=False)

qt. qpa. plugin: could not load the Qt platform plugin “xcb” in ””even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc,webgl, xcb.
Aborted (core dumped)

I set the export QT_DEBUG_PLUGINS=1 then got a detailed description. Cannot load library /home/ss/miniconda3/envs/idtxl/plugins/platforms/libqxcb.so: (libxcb-icccm.so.4: cannot open shared object file: No such file or directory) QLibraryPrivate::loadPlugin failed on "/home/ss/miniconda3/envs/idtxl/plugins/platforms/libqxcb.so: (libxcb-icccm.so.4: cannot open shared object file: No such file or directory)"

The documents in /home/ss/miniconda3/envs/idtxl/plugins/platforms are like:

libqxcb.so
libqwebgl.so
libqvnc.so
libqoffscreen.so
libqminimalegl.so
libqminimal.so
libqeglfs.so

Environment

pwollstadt commented 10 months ago

Hi @1191828365 this seems to be a problem not directly related to IDTxl. I did a quick google search and found this amongst other threads: https://github.com/NVlabs/instant-ngp/discussions/300 Maybe something in there helps?

I would close this issue as it does not seem to relate to a bug in IDTxl. Please re-open it if it turns out there is something wrong anyways.

Thanks, Patricia