aditya-grover / node2vec

http://snap.stanford.edu/node2vec/
MIT License
2.6k stars 912 forks source link

ImportError: No module named gensim #86

Open wzhangwhu opened 4 years ago

wzhangwhu commented 4 years ago

when I try to run main.py on the test data, the error occurs: E:\node2vec-master>python src/main.py --input graph/karate.edgelist --output emb/karate1.emb Traceback (most recent call last): File "src/main.py", line 16, in from gensim.models import Word2Vec ModuleNotFoundError: No module named 'gensim'

I have just install gensim by using pip install gensim Anyone could help me ?

ghost commented 4 years ago

@wzhangwhu did you try in virtual environment. Probably need to re-install word2vec in the environment.