-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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: cannot import name KeyedVectors #1877
Comments
Hello @dhanush987, you have really old gensim version (1 year ago), please upgrade to latest version |
It should be from gensim.models.keyedvectors import KeyedVector |
Still I have same problem. NameError Traceback (most recent call last) NameError: name 'keyedVectors' is not defined |
@NeelKanwal See above. |
Python 2.7.12, Mac OS High Sierra, gensim (0.13.4.1)
from sklearn.externals import joblib
from gensim.models import KeyedVectors
Traceback (most recent call last):
File "Test_for_ adversariality.py", line 5, in
from gensim.models import KeyedVectors
ImportError: cannot import name KeyedVectors
I am trying to load the skipgram.txt files.
The text was updated successfully, but these errors were encountered: