-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import issue #22
Comments
`--------------------------------------------------------------------------- 2 frames /usr/local/lib/python3.10/dist-packages/fastgraphml/graph_embeddings/models/dmgi.py in /usr/local/lib/python3.10/dist-packages/fastgraphml/graph_embeddings/init.py in ImportError: cannot import name 'DMGI' from partially initialized module 'fastgraphml.graph_embeddings.models.dmgi' (most likely due to a circular import) (/usr/local/lib/python3.10/dist-packages/fastgraphml/graph_embeddings/models/dmgi.py)` |
…imports within functions to delay the import and avoid circular dependencies
Error message indicating that there is a circular import issue in the fastgraphml package, specifically with the DMGI model.
Note : Circular imports occur when two or more modules depend on each other directly or indirectly, causing an import loop.
The text was updated successfully, but these errors were encountered: