-
-
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
gensim.keyedvectors should be gensim.models.keyedvectors #1455
Comments
@ProbonoBonobo Hi! You are correct about the API. It should be |
No worries! Just for my own sanity, is it really the case that KeyedVectors is available in Python3 only? My first thought when I saw the error in a py2.7 anaconda environment was that maybe my gensim version was out of date. So I ran |
No, that's not the case. |
@ProbonoBonobo @chinmayapancholi13 has this issue been fixed by the last release? |
Fixed |
Description
From the documentation page at https://radimrehurek.com/gensim/models/keyedvectors.html:
from gensim.keyedvectors import KeyedVectors
Has there been an API change? In my version of gensim KeyedVectors is located in the gensim.models.keyedvectors module.
Steps/Code/Corpus to Reproduce
>>> from gensim.keyedvectors import KeyedVectors
Expected Results
(imports the KeyedVectors class)
Actual Results
Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'gensim.keyedvectors'
The text was updated successfully, but these errors were encountered: