ASchidler / twin_width

MIT License
2 stars 1 forks source link

ModuleNotFoundError: No module named 'treewidth' #2

Open jmeintrup opened 2 years ago

jmeintrup commented 2 years ago

Hello, i've been trying to run this as described in the readme, but get the following error:

Traceback (most recent call last):
  File "runner.py", line 22, in <module>
    import treewidth
ModuleNotFoundError: No module named 'treewidth'
jmeintrup commented 2 years ago

Changing it tofrom networkx.algorithms.approximation import treewidth fixes the problem