inidun / text_analytics

Text analytic tools
3 stars 0 forks source link

Error occur when running Most Discriminating Terms #9

Closed fredrik1984 closed 3 years ago

fredrik1984 commented 3 years ago

I could not run the notebook Most Discriminating Terms. I get the following message:


ModuleNotFoundError Traceback (most recent call last)

in 11 from penelope.notebook.mdw import create_mdw_gui 12 ---> 13 import __paths__ 14 15 view_display, view_gui = Output(), Output() ModuleNotFoundError: No module named '__paths__'
roger-mahler commented 3 years ago

The file is missing in the notebook folder most_descriminating_terms. A quick-fix is to copy the file __paths__.py from folder pos_statistics.py to folder most_descriminating_terms:

Capture

roger-mahler commented 3 years ago

Fixed in code, and will be included in next release.

fredrik1984 commented 3 years ago

Hm, I can't see that such a file exist in folder pos_statistics.py... ![Uploading Skärmavbild 2021-01-26 kl. 12.36.34.png…]()

roger-mahler commented 3 years ago

Hmmm...then pos_statistics is broken as well? The file also exists in ´word_trendsandco_occurrence` folders. Try copying the file from any of those folders instead.

fredrik1984 commented 3 years ago

I fixed it!