Skip to content Skip to sidebar Skip to footer

Attributeerror: 'module' Object Has No Attribute '__version__'

I have installed LDA plibrary (using pip) I have a very simple test code (the next two rows) import lda print lda.datasets.load_reuters() But i keep getting the error AttributeE

Solution 1:

Do you have a module named lda.py or lda.pyc in the current directory?

If so, then your import statement is finding that module instead of the "real" lda module.

Post a Comment for "Attributeerror: 'module' Object Has No Attribute '__version__'"