I can't import submodules from graph-tool since it's most recent update, I presume this is to do with Python 3.7 but not certain. When I try to import all I get the following error:
>>> from graph_tool.all import * Traceback (most recent call last): File "<pyshell#10>", line 1, in <module> from graph_tool.all import * File "/usr/lib/python3.7/site-packages/graph_tool/all.py", line 29, in <module> from graph_tool.correlations import * File "/usr/lib/python3.7/site-packages/graph_tool/correlations/__init__.py", line 43, in <module> dl_import("from . import libgraph_tool_correlations") File "/usr/lib/python3.7/site-packages/graph_tool/dl_import.py", line 58, in dl_import exec(import_expr, local_dict, global_dict) File "<string>", line 1, in <module> ImportError: /usr/lib/python3.7/site-packages/graph_tool/correlations/libgraph_tool_correlations.so: undefined symbol: __atomic_load
This error is for correlations but if you try with a different one, say inference I get the same issue:
import graph_tool.inference as inference Traceback (most recent call last): File "<pyshell#15>", line 1, in <module> import graph_tool.inference as inference File "/usr/lib/python3.7/site-packages/graph_tool/inference/__init__.py", line 241, in <module> from . blockmodel import * File "/usr/lib/python3.7/site-packages/graph_tool/inference/blockmodel.py", line 26, in <module> from .. stats import remove_parallel_edges, remove_self_loops File "/usr/lib/python3.7/site-packages/graph_tool/stats/__init__.py", line 48, in <module> dl_import("from . import libgraph_tool_stats") File "/usr/lib/python3.7/site-packages/graph_tool/dl_import.py", line 58, in dl_import exec(import_expr, local_dict, global_dict) File "<string>", line 1, in <module> ImportError: /usr/lib/python3.7/site-packages/graph_tool/stats/libgraph_tool_stats.so: undefined symbol: __atomic_load
I hadn't noticed this before now as I can still import graph-tool on it's own and load graphs and do some operations.
Graph-tool 2.33 has been released so I'm going to try to build that in case the issue has been resolved, if it has I will report back and submit an update. If not it will require more investigation. I looked at the graph-tool gitlab and couldn't see anyone else reporting this.