Levenshtein module not found
See original GitHub issue
from cltk.prosody.latin.hexameter_scanner import HexameterScanner
ModuleNotFoundError Traceback (most recent call last) <ipython-input-11-5d85521ff9dd> in <module> ----> 1 from cltk.prosody.latin.hexameter_scanner import HexameterScanner
c:\users\clems\pycharmprojects\apicius\venv\lib\site-packages\cltk\prosody\latin\hexameter_scanner.py in <module> 15 import re 16 —> 17 from Levenshtein import distance 18 19 from cltk.prosody.latin.verse import Verse
ModuleNotFoundError: No module named ‘Levenshtein’
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
ModuleNotFoundError: No module named 'Levenshtein'
I add the package location to the sys.path . Now I'm getting ImportError: dynamic module does not define module export function (PyInit__ ...
Read more >python-Levenshtein - PyPI
Introduction. The Levenshtein Python C extension module contains functions for fast computation of: Levenshtein (edit) distance, and edit operations; string ...
Read more >No module named 'python-levenshtein' - Copy Paste Guru
How to fix "ModuleNotFoundError: No module named 'python-levenshtein'" ... You must first install the package before you can use it in your code....
Read more >Cannot import name '_levenshtein' from 'Levenshtein' #2065
When I try to get my app deployed, I get an ImportError for the levenshtein package Context I am using the fast-autocomplete package, ......
Read more >[Example code]-ImportError: No module named Levenshtein
simply give pip install Levenshtein and you'll be good to go. Worked for me. Agog 119. Credit To: stackoverflow.com ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
On a related note, I have thought about moving us to Apache 2.0, when the new api is finished. A few comments on its benefits over MIT:
These of course are from an opinionated source 😃
Recent PRs fix this issue (e.g. https://github.com/cltk/cltk/issues/978 ) ; we’ll be cutting a new release shortly. With the newer CLTK version we may revisit the license approach.