ModuleNotFoundError: No module named 'Levenshtein' in a jupyter notebook despite having…
- User
ModuleNotFoundError: No module named 'Levenshtein' in a jupyter notebook despite having installed Levenshtein from cmd in the corresponding venv
- Assistant
If you're encountering a for the 'Levenshtein' module in a Jupyter Notebook, despite having installed it in the corresponding virtual environment, there are a few steps you can take to troubleshoot and resolve the issue:
- User
the path does not match
- Assistant
If the Python path in your Jupyter Notebook does not match the path of your virtual environment, it generally means Jupyter is not using the Python interpreter from your desired virtual environment. Here are steps to resolve this issue:
-
Activate the Virtual Environment:
- Ensure that your virtual environment is activated before launching Jupyter Notebook.
-