Guest User

python-Levenshtein 0.12 Error in Python 3.7/3.8

a guest
Nov 19th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. ERROR: Command errored out with exit status 1:
  2. command: 'C:\Users\XYZ\AppData\Local\Programs\Python\Python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\XYZ\\AppData\\Local\\Temp\\pip-install-le74w60y\\python-Levenshtein\\setup.py'"'"'; __file__='"'"'C:\\Users\\XYZ\\AppData\\Local\\Temp\\pip-install-le74w60y\\python-Levenshtein\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\XYZ\AppData\Local\Temp\pip-record-wve640be\install-record.txt' --single-version-externally-managed --compile
  3. cwd: C:\Users\XYZ\AppData\Local\Temp\pip-install-le74w60y\python-Levenshtein\
  4. Complete output (27 lines):
  5. running install
  6. running build
  7. running build_py
  8. creating build
  9. creating build\lib.win-amd64-3.8
  10. creating build\lib.win-amd64-3.8\Levenshtein
  11. copying Levenshtein\StringMatcher.py -> build\lib.win-amd64-3.8\Levenshtein
  12. copying Levenshtein\__init__.py -> build\lib.win-amd64-3.8\Levenshtein
  13. running egg_info
  14. writing python_Levenshtein.egg-info\PKG-INFO
  15. writing dependency_links to python_Levenshtein.egg-info\dependency_links.txt
  16. writing entry points to python_Levenshtein.egg-info\entry_points.txt
  17. writing namespace_packages to python_Levenshtein.egg-info\namespace_packages.txt
  18. writing requirements to python_Levenshtein.egg-info\requires.txt
  19. writing top-level names to python_Levenshtein.egg-info\top_level.txt
  20. reading manifest file 'python_Levenshtein.egg-info\SOURCES.txt'
  21. reading manifest template 'MANIFEST.in'
  22. warning: no previously-included files matching '*pyc' found anywhere in distribution
  23. warning: no previously-included files matching '*so' found anywhere in distribution
  24. warning: no previously-included files matching '.project' found anywhere in distribution
  25. warning: no previously-included files matching '.pydevproject' found anywhere in distribution
  26. writing manifest file 'python_Levenshtein.egg-info\SOURCES.txt'
  27. copying Levenshtein\_levenshtein.c -> build\lib.win-amd64-3.8\Levenshtein
  28. copying Levenshtein\_levenshtein.h -> build\lib.win-amd64-3.8\Levenshtein
  29. running build_ext
  30. building 'Levenshtein._levenshtein' extension
  31. error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
  32. ----------------------------------------
  33. ERROR: Command errored out with exit status 1: 'C:\Users\XYZ\AppData\Local\Programs\Python\Python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\XYZ\\AppData\\Local\\Temp\\pip-install-le74w60y\\python-Levenshtein\\setup.py'"'"'; __file__='"'"'C:\\Users\\XYZ\\AppData\\Local\\Temp\\pip-install-le74w60y\\python-Levenshtein\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\XYZ\AppData\Local\Temp\pip-record-wve640be\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
Add Comment
Please, Sign In to add comment