Closed cainesap closed 7 years ago
Hi Andrew, thanks for reporting.
This was a typo in the setup.py... stats instead of statistics. Just pull the last commit and rerun the installation process it should work!
Mathieu
Thank you Mathieu! Yes that's better. But now there's a new error message:
2 top frequency tokens:
Hello 1
world 1
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/bin/wordseg-stats", line 11, in
Ok thanks, it should be fixed now. Sorry but the stats module is quite poor for now, and not yet tested. Let us now if you want other stats to be computed...
Hello, We encountered a problem with wordseg-stats. Running "wordseg-stats corpus.txt" results in the following error message: File "/Library/Frameworks/Python.framework/Versions/3.6/bin/wordseg-stats", line 11, in
load_entry_point('wordseg==0.4.1', 'console_scripts', 'wordseg-stats')()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pkg_resources/init.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pkg_resources/init.py", line 2631, in load_entry_point
return ep.load()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pkg_resources/init.py", line 2291, in load
return self.resolve()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pkg_resources/init.py", line 2297, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
ModuleNotFoundError: No module named 'wordseg.stats'
Please could you advise what to do? many thanks, Andrew