githubharald / CTCDecoder

Connectionist Temporal Classification (CTC) decoding algorithms: best path, beam search, lexicon search, prefix search, and token passing. Implemented in Python.
https://towardsdatascience.com/3797e43a86c
MIT License
817 stars 182 forks source link

No module named 'editdistance' #6

Closed anguslou closed 5 years ago

anguslou commented 5 years ago

I had installed editdistance at terminal successfully by:

pip install editdistance

And install requirements.txt with error as followed:

Could not find a version that satisfies the requirement pkg-resources==0.0.0 (from -r requirements.txt (line 5)) (from versions: ) No matching distribution found for pkg-resources==0.0.0 (from -r requirements.txt (line 5))

However no error message about editdistance.

But running main.py still get error message:

ModuleNotFoundError: No module named 'editdistance'

githubharald commented 5 years ago

pip install editdistance works for me - please ask the devs of editdistance for further help if you need it.