bab2min / tomotopy

Python package of Tomoto, the Topic Modeling Tool
https://bab2min.github.io/tomotopy
MIT License
548 stars 62 forks source link

AttributeError: module 'tomotopy' has no attribute 'LDAModel' #128

Closed AnnieKArmstrong closed 1 year ago

AnnieKArmstrong commented 3 years ago

Hi!

When I import Tomotopy and then try the print(tp.isa), I get an attribute error: "AttributeError: module 'tomotopy' has no attribute 'isa'"

I also get an attribute error when I try to run the model: AttributeError: module 'tomotopy' has no attribute 'LDAModel'

I've unimported and reimported the package, but I'm not sure what else to do.

Thanks for your help!

Best,

Annie

PS--I'm an advanced beginner, so I apologize if this is a stupid question.

bab2min commented 3 years ago

Hello @AnnieKArmstrong, It seems that tomotopy wasn't installed properly in your environment. Could you share your os, python version, and command line you used to install tomotopy?