Skip to content
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

ImportError: No module named gensim #86

Open
wzhangwhu opened this issue Dec 18, 2019 · 1 comment
Open

ImportError: No module named gensim #86

wzhangwhu opened this issue Dec 18, 2019 · 1 comment

Comments

@wzhangwhu
Copy link

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
Copy link

ghost commented Jan 4, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant