ModuleNotFoundError: No module named 'node2vec'
See original GitHub issueModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-ab061214f9c6> in <module>
7 import torch.optim as optim
8 from deeprobust.graph.utils import accuracy
----> 9 from deeprobust.graph.defense.pgd import PGD, prox_operators
10 import warnings
11
~/DeepRobust/deeprobust/graph/defense/__init__.py in <module>
4 from .prognn import ProGNN
5 from .simpgcn import SimPGCN
----> 6 from .node_embedding import Node2Vec, DeepWalk
7 import warnings
8 try:
~/DeepRobust/deeprobust/graph/defense/node_embedding.py in <module>
16 from sklearn.preprocessing import normalize
17 from sklearn.metrics import f1_score, roc_auc_score, average_precision_score, accuracy_score
---> 18 from node2vec import Node2Vec as N2V
19
20 class BaseEmbedding:
ModuleNotFoundError: No module named 'node2vec'
Hi, is there a missing file node2vec
?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
ModuleNotFoundError: No module named 'node2vec'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'node2vec' How to remove the ModuleNot.
Read more >Node2vec and networkx - python - Stack Overflow
I'm the author of this library. If you are using Windows, parallel execution won't work because joblib and Windows issues. Run the same...
Read more >Node2Vec - :: Anaconda.org
1. The node2vec algorithm learns continuous representations for nodes in any (un)directed, (un)weighted graph.
Read more >Snap.py - SNAP for Python
Snap.py is self-contained, it does not require any additional packages for its basic functionality. ... Snap.py can be installed via the pip module....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Kindly refer to https://github.com/DSE-MSU/DeepRobust/pull/51
Thank you so much!!!