lda2vec
lda2vec copied to clipboard
Error: no module named lda2vec - >Unable to run twenty newsgroup example
I build and install correctly ``setup.pyat the rooth, No problem with running script in lda2vec folder, but when i try to runlda2vec_run.py` in twenty news group example folder it return :
File "lda2vec2.7/lda2vec-master/examples/twenty_newsgroups/data/preprocess.py", line 17, in <module>
from lda2vec import preprocess, Corpus
ImportError: No module named lda2vec```
Add the path with sys.path.append() doesn't change anything .
check if lda2vec is in /usr/lib/python[version]/dist-packages or /usr/local/lib/python[version]/dist-packages.
If not, try to build and install using the following command again. python setup.py build install
Otherwise, you can import lda2vec using the full path.