Reputation: 51
I have python-Levenshtein installed.
root@marcelo:~# pip show python-Levenshtein | grep Location
Location: /usr/lib/python2.7/dist-packages
root@marcelo:~#
However, I got the error message:
ImportError: No module named Levenshtein
Here is the relevante part of script code:
#!/usr/bin/env python
# encoding: utf-8
#
#
# scriptLattes
# Copyright http://scriptlattes.sourceforge.net/
#
#
import logging
import os
import shutil
import sys
import Levenshtein
SEP = os.path.sep
BASE = 'scriptLattes' + SEP
ABSBASE = os.path.abspath('.') + SEP
I found the question posted here, but it not have a answer to solve my issue here.
Any suggestions? Thanks in advance.
Upvotes: 0
Views: 2431
Reputation: 95
simply give
pip install Levenshtein
and you'll be good to go. Worked for me.
Upvotes: 1