python-Levenshtein icon indicating copy to clipboard operation
python-Levenshtein copied to clipboard

Error in installation with pip [Windows]

Open RaXorX opened this issue 5 years ago • 3 comments

I am on windows 10 x64. Recently was trying my hand on a tool called videocr. It requires the installation of levenshtein, but apparently it only checks and downloads the 0.12 version. Which apparently gives me an error similar to https://github.com/ztane/python-Levenshtein/issues/44 and https://github.com/ztane/python-Levenshtein/issues/42

Can't say if they are related or not. Original issue on videocr is here. https://github.com/apm1467/videocr/issues/8 and here is the error which it throws https://pastebin.com/ksSVw1Wa

I tried downloading the VC redist files for VS2015/2017/2019 since it says it required VC++ 14.0 but it had no effect.

RaXorX avatar Nov 19 '19 18:11 RaXorX

The instructions at https://www.scivision.dev/python-windows-visual-c-14-required/ worked for me.

offthewoll avatar Feb 06 '20 22:02 offthewoll

Thanks @offthewoll for the tip!

As an alternative approach, would this do the trick?

choco install visualstudio2019buildtools
choco install microsoft-visual-cpp-build-tools

b-long avatar Oct 27 '20 03:10 b-long

I imagine that would work too but that involves Chocolatey being a dependency of a dependency (vsbuildtools) of a dependency (levenshtein) in order to use Fuzzywuzzy. @b-long

offthewoll avatar Oct 27 '20 03:10 offthewoll