ERROR: Command errored out with exit status 1: command: 'C:\ProgramData\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Public\Documents\ESTsoft\CreatorTemp\pip-install-kgvjs0kh\kmeans_89d521e3fe3e4c4fb5651db8232deb99\setup.py'"'"'; __file__='"'"'C:\Users\Public\Documents\ESTsoft\CreatorTemp\pip-install-kgvjs0kh\kmeans_89d521e3fe3e4c4fb5651db8232deb99\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Public\Documents\ESTsoft\CreatorTemp\pip-wheel-mwv49ygu' cwd: C:\Users\Public\Documents\ESTsoft\CreatorTemp\pip-install-kgvjs0kh\kmeans_89d521e3fe3e4c4fb5651db8232deb99\ Complete output (24 lines): running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-3.8 creating build\lib.win-amd64-3.8\kmeans copying kmeans\performance.py -> build\lib.win-amd64-3.8\kmeans copying kmeans\tests.py -> build\lib.win-amd64-3.8\kmeans copying kmeans\__init__.py -> build\lib.win-amd64-3.8\kmeans running egg_info writing kmeans.egg-info\PKG-INFO writing dependency_links to kmeans.egg-info\dependency_links.txt writing top-level names to kmeans.egg-info\top_level.txt reading manifest file 'kmeans.egg-info\SOURCES.txt' writing manifest file 'kmeans.egg-info\SOURCES.txt' copying kmeans\lib.c -> build\lib.win-amd64-3.8\kmeans running build_ext building 'kmeans/lib' extension creating build\temp.win-amd64-3.8 creating build\temp.win-amd64-3.8\Release creating build\temp.win-amd64-3.8\Release\kmeans C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\ProgramData\Anaconda3\include -IC:\ProgramData\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tckmeans/lib.c /Fobuild\temp.win-amd64-3.8\Release\kmeans/lib.obj -Wno-error=declaration-after-statement -O3 -std=c99 cl : 명령줄 error D8021 : '/Wno-error=declaration-after-statement' 숫자 인수가 잘못되었습니다. error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX86\x64\cl.exe' failed with exit status 2 ---------------------------------------- ERROR: Failed building wheel for kmeans ERROR: Command errored out with exit status 1: command: 'C:\ProgramData\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Public\Documents\ESTsoft\CreatorTemp\pip-install-kgvjs0kh\kmeans_89d521e3fe3e4c4fb5651db8232deb99\setup.py'"'"'; __file__='"'"'C:\Users\Public\Documents\ESTsoft\CreatorTemp\pip-install-kgvjs0kh\kmeans_89d521e3fe3e4c4fb5651db8232deb99\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\Public\Documents\ESTsoft\CreatorTemp\pip-record-drwur81t\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\ProgramData\Anaconda3\Include\kmeans' cwd: C:\Users\Public\Documents\ESTsoft\CreatorTemp\pip-install-kgvjs0kh\kmeans_89d521e3fe3e4c4fb5651db8232deb99\ Complete output (24 lines): running install running build running build_py creating build creating build\lib.win-amd64-3.8 creating build\lib.win-amd64-3.8\kmeans copying kmeans\performance.py -> build\lib.win-amd64-3.8\kmeans copying kmeans\tests.py -> build\lib.win-amd64-3.8\kmeans copying kmeans\__init__.py -> build\lib.win-amd64-3.8\kmeans running egg_info writing kmeans.egg-info\PKG-INFO writing dependency_links to kmeans.egg-info\dependency_links.txt writing top-level names to kmeans.egg-info\top_level.txt reading manifest file 'kmeans.egg-info\SOURCES.txt' writing manifest file 'kmeans.egg-info\SOURCES.txt' copying kmeans\lib.c -> build\lib.win-amd64-3.8\kmeans running build_ext building 'kmeans/lib' extension creating build\temp.win-amd64-3.8 creating build\temp.win-amd64-3.8\Release creating build\temp.win-amd64-3.8\Release\kmeans C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\ProgramData\Anaconda3\include -IC:\ProgramData\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tckmeans/lib.c /Fobuild\temp.win-amd64-3.8\Release\kmeans/lib.obj -Wno-error=declaration-after-statement -O3 -std=c99 cl : 명령줄 error D8021 : '/Wno-error=declaration-after-statement' 숫자 인수가 잘못되었습니다. error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX86\x64\cl.exe' failed with exit status 2 ---------------------------------------- ERROR: Command errored out with exit status 1: 'C:\ProgramData\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Public\Documents\ESTsoft\CreatorTemp\pip-install-kgvjs0kh\kmeans_89d521e3fe3e4c4fb5651db8232deb99\setup.py'"'"'; __file__='"'"'C:\Users\Public\Documents\ESTsoft\CreatorTemp\pip-install-kgvjs0kh\kmeans_89d521e3fe3e4c4fb5651db8232deb99\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\Public\Documents\ESTsoft\CreatorTemp\pip-record-drwur81t\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\ProgramData\Anaconda3\Include\kmeans' Check the logs for full command output.
Visual studio Community 2019
これもインストールしたのに依然として同じインストールエラーが出ます。
もしこのミスについてよく知っている専門家がいらっしゃれば、解決方法をちょっと教えてください。
何をインストールしようとしているのでしょうか?
scikit-learnにk-meansが入ってますけど、それ使うのではダメなのでしょうか?
https://qiita.com/Yt330110713/items/534e1791aee4e1440785