ztane / python-Levenshtein

The Levenshtein Python C extension module contains functions for fast computation of Levenshtein distance and string similarity
GNU General Public License v2.0
1.26k stars 155 forks source link

coverage cannot import Levenshtein #31

Closed karlkaebnick closed 7 years ago

karlkaebnick commented 7 years ago

I have a file 'dummy.py' that contains only the line: import Levenshtein.

Running python dummy.py causes no problems, but running coverage run dummy.py generates the error:

Traceback (most recent call last): File "dummy.py", line 1, in <module> import Levenshtein ImportError: No module named 'Levenshtein'

Apparently there is some kind of conflict between coverage and Levenshtein?

karlkaebnick commented 7 years ago

Upgraded coverage from version 4.3.4 to version 4.4.1 and the problem went away, so I am closing the issue.