Skip to content

"no module named utility" #3

@annaRichImperial

Description

@annaRichImperial

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
from biterm.cbtm import oBTM
File "/homes/ahr18/PycharmProjects/biterm/Source/biterm.py", line 3, in
from biterm.cbtm import oBTM
ImportError: No module named cbtm

Process finished with exit code 1

any idea how i can fix this?

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions