"no module named utility"
Hi
I have installed biterm on pycharm, and have the following imports in my code:
import numpy as np import pyLDAvis from biterm.cbtm import oBTM from sklearn.feature_extraction.text import CountVectorizer from biterm.utility import vec_to_biterms, topic_summuary
however i get the error:
/homes/ahr18/PycharmProjects/biterm/Source/transformation.py/bin/python /homes/ahr18/PycharmProjects/biterm/Source/biterm.py
Traceback (most recent call last):
File "/homes/ahr18/PycharmProjects/biterm/Source/biterm.py", line 3, in
Process finished with exit code 1
any idea how i can fix this?
Thanks !
annaRichImperial, I've come across the same issue. Have you fixed it yet?
Try from biterm.btm import oBTM instead of from biterm.cbtm import oBTM. If you want to use the cythonic version (cbtm) you have to first compile it yourself.