discord-ext-levenshteinをインストールしたい
pipより
pip
1py -3.9 -m pip install --upgrade discord-ext-levenshtein
を実行しましたが
Collecting discord-ext-levenshtein Using cached discord_ext_levenshtein-0.3.0-py3-none-any.whl (4.9 kB) Collecting python-Levenshtein Using cached python-Levenshtein-0.12.2.tar.gz (50 kB) Requirement already satisfied: discord.py in c:\users\waon-pc\appdata\local\programs\python\python39-32\lib\site-packages (from discord-ext-levenshtein) (2.0.0a3453+g58ca9e99) Requirement already satisfied: aiohttp<3.8.0,>=3.6.0 in c:\users\waon-pc\appdata\local\programs\python\python39-32\lib\site-packages (from discord.py->discord-ext-levenshtein) (3.7.4.post0) Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\waon-pc\appdata\local\programs\python\python39-32\lib\site-packages (from aiohttp<3.8.0,>=3.6.0->discord.py->discord-ext-levenshtein) (5.1.0) Requirement already satisfied: typing-extensions>=3.6.5 in c:\users\waon-pc\appdata\local\programs\python\python39-32\lib\site-packages (from aiohttp<3.8.0,>=3.6.0->discord.py->discord-ext-levenshtein) (3.10.0.0) Requirement already satisfied: attrs>=17.3.0 in c:\users\waon-pc\appdata\local\programs\python\python39-32\lib\site-packages (from aiohttp<3.8.0,>=3.6.0->discord.py->discord-ext-levenshtein) (21.2.0) Requirement already satisfied: chardet<5.0,>=2.0 in c:\users\waon-pc\appdata\local\programs\python\python39-32\lib\site-packages (from aiohttp<3.8.0,>=3.6.0->discord.py->discord-ext-levenshtein) (4.0.0) Requirement already satisfied: async-timeout<4.0,>=3.0 in c:\users\waon-pc\appdata\local\programs\python\python39-32\lib\site-packages (from aiohttp<3.8.0,>=3.6.0->discord.py->discord-ext-levenshtein) (3.0.1) Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\waon-pc\appdata\local\programs\python\python39-32\lib\site-packages (from aiohttp<3.8.0,>=3.6.0->discord.py->discord-ext-levenshtein) (1.6.3) Requirement already satisfied: idna>=2.0 in c:\users\waon-pc\appdata\local\programs\python\python39-32\lib\site-packages (from yarl<2.0,>=1.0->aiohttp<3.8.0,>=3.6.0->discord.py->discord-ext-levenshtein) (2.10) Requirement already satisfied: setuptools in c:\users\waon-pc\appdata\local\programs\python\python39-32\lib\site-packages (from python-Levenshtein->discord-ext-levenshtein) (58.2.0) Using legacy 'setup.py install' for python-Levenshtein, since package 'wheel' is not installed. Installing collected packages: python-Levenshtein, discord-ext-levenshtein Running setup.py install for python-Levenshtein ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\waon-pc\AppData\Local\Programs\Python\Python39-32\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\waon-pc\AppData\Local\Temp\pip-install-042m3uu6\python-levenshtein_5e511bdd4be0428facbf946547ceae3b\setup.py'"'"'; __file__='"'"'C:\Users\waon-pc\AppData\Local\Temp\pip-install-042m3uu6\python-levenshtein_5e511bdd4be0428facbf946547ceae3b\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\waon-pc\AppData\Local\Temp\pip-record-hso279sv\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\waon-pc\AppData\Local\Programs\Python\Python39-32\Include\python-Levenshtein' cwd: C:\Users\waon-pc\AppData\Local\Temp\pip-install-042m3uu6\python-levenshtein_5e511bdd4be0428facbf946547ceae3b\ Complete output (28 lines): running install running build running build_py creating build creating build\lib.win32-3.9 creating build\lib.win32-3.9\Levenshtein copying Levenshtein\StringMatcher.py -> build\lib.win32-3.9\Levenshtein copying Levenshtein\__init__.py -> build\lib.win32-3.9\Levenshtein running egg_info writing python_Levenshtein.egg-info\PKG-INFO writing dependency_links to python_Levenshtein.egg-info\dependency_links.txt writing entry points to python_Levenshtein.egg-info\entry_points.txt writing namespace_packages to python_Levenshtein.egg-info\namespace_packages.txt writing requirements to python_Levenshtein.egg-info\requires.txt writing top-level names to python_Levenshtein.egg-info\top_level.txt reading manifest file 'python_Levenshtein.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*pyc' found anywhere in distribution warning: no previously-included files matching '*so' found anywhere in distribution warning: no previously-included files matching '.project' found anywhere in distribution warning: no previously-included files matching '.pydevproject' found anywhere in distribution adding license file 'COPYING' writing manifest file 'python_Levenshtein.egg-info\SOURCES.txt' copying Levenshtein\_levenshtein.c -> build\lib.win32-3.9\Levenshtein copying Levenshtein\_levenshtein.h -> build\lib.win32-3.9\Levenshtein running build_ext building 'Levenshtein._levenshtein' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ ---------------------------------------- ERROR: Command errored out with exit status 1: 'C:\Users\waon-pc\AppData\Local\Programs\Python\Python39-32\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\waon-pc\AppData\Local\Temp\pip-install-042m3uu6\python-levenshtein_5e511bdd4be0428facbf946547ceae3b\setup.py'"'"'; __file__='"'"'C:\Users\waon-pc\AppData\Local\Temp\pip-install-042m3uu6\python-levenshtein_5e511bdd4be0428facbf946547ceae3b\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\waon-pc\AppData\Local\Temp\pip-record-hso279sv\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\waon-pc\AppData\Local\Programs\Python\Python39-32\Include\python-Levenshtein' Check the logs for full command output.
というエラーが出ます。
色々調べましたが、このライブラリ事態の情報が少ないのでよく分かりませんでした。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2021/10/06 07:22