jacquesfize / GMatch4py

A graph matching library for Python
MIT License
192 stars 41 forks source link

ModuleNotFoundError: No module named 'gmatch4py.ged.graph_edit_dist' #19

Closed Sciss closed 3 years ago

Sciss commented 4 years ago

Hi there! Thanks for making this project. I'm following the setup in the README, but something is wrong. I installed using pip3 install ., then I run python3, at the prompt I type

>>> # Gmatch4py use networkx graph 
... import networkx as nx 
>>> # import the GED using the munkres algorithm
... import gmatch4py as gm
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File "/home/hhrutz/Documents/devel/GMatch4py/gmatch4py/__init__.py", line 4, in <module>
    from .ged.graph_edit_dist import *
ModuleNotFoundError: No module named 'gmatch4py.ged.graph_edit_dist'
Sciss commented 4 years ago

Ok, if I cd gmatch4py before calling python3, the import works.