'Python module "pyLDAvis.gensim" not found
I installed pyLDAvis and gensim modules in jupytor notebook,when i tried to use "pyLDAvis.gensim" module i am getting error as No "module named 'pyLDAvis.gensim'"
please find detailed error below:
ModuleNotFoundError Traceback (most recent call last) in 12 # libraries for visualization 13 import pyLDAvis ---> 14 import pyLDAvis.gensim
ModuleNotFoundError: No module named 'pyLDAvis.gensim'
any idea why i am getting this error even after installing those individual modules
Do let me know if any additional information required
Thanks in advance
Solution 1:[1]
Update the package to:
import pyLDAvis.gensim_models
instead of using:
import pyLDAvis.gensim
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Javad Nikbakht |