I am using Jupyter Notebook to run python code. I already did the following:
!pip install pyldavis
I can successfully import pyLDAvis via the following codes:
import pyLDAvis
pyLDAvis.enable_notebook()
However, I cannot import pyLDAvis.sklearn via the following codes:
import pyLDAvis.sklearn
It returns:
ModuleNotFoundError Traceback (most recent call last) Cell In[52], line 1 ----> 1 import pyLDAvis.sklearn_models
ModuleNotFoundError: No module named 'pyLDAvis.sklearn_models'
Why is that and what should I do to deal with it?