-
Notifications
You must be signed in to change notification settings - Fork 362
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
pyLDAvis.gensim
needs to be imported explicitly
#131
Comments
How about this: |
import pyLDAvis.gensim gives me import error. How can i solve it? |
Looks like this is latest issue with version 3.3.0 Switch to version 3.2.2 and it will work like charm. |
vs3.3.0 had to rename the file name, so now use Note: the colab examples have |
Thanks for the quick action. |
I had the same issue with |
Still have the same problem. Any tips? |
change the version to |
hello everyone. I solve it by importing the package gensim_models instead of gensim : import pyLDAvis.gensim_models I still don't understand why but it work. |
Yes, this worked for me as well. Unfortunately, I do not know the reason but I found the answer also without further explanation on stack: https://stackoverflow.com/a/71920375 |
It worked for me too |
|
I keep getting
AttributeError
when attempting to run:Here's the traceback:
However, the code runs fine when importing
gensim
explicitly:Unsure why that would be the case? Is it possible that
gensim
would need to be added to__init__.py
?The text was updated successfully, but these errors were encountered: