jerinphilip / ocr-retrain

0 stars 0 forks source link

Module error while running clustering code #15

Open Deepayan137 opened 6 years ago

Deepayan137 commented 6 years ago
python doctools/scripts/clustering.py -f hindi_words.txt

gives

Traceback (most recent call last):
File "doctools/scripts/clustering.py", line 5, in <module>
from doctools.cluster.mst import cluster
ModuleNotFoundError: No module named 'doctools'

I tried inserting path doctools

sys.path.insert(0, '../src/doctools/')

but still getting the same error any suggestions?

jerinphilip commented 6 years ago

Run it using python -m doctools.script.cluster

Deepayan137 commented 6 years ago
Error while finding module specification for 'doctools.script.cluster' (ModuleNotFoundError: No module named 'doctools.script')

still getting error

Deepayan137 commented 6 years ago

okay running

python -m doctools.scripts.cluster

thanks