end0tknr's kipple - web写経開発

太宰府天満宮の狛犬って、妙にカワイイ

install llama-cpp-python to miniconda3 py310 & windows 11 & gpu

当初、「pip install llama-cpp-python」によるインストールを試みましたが、 下記にあるようなエラーが発生。

「cmakeが、c compilerを見つけられないのかな?」等と思いましたが、 解消には至らず。

その後、langchainの https://python.langchain.com/docs/integrations/llms/llamacpp に従い、以下の手順で行ったところ、インストールまではできたみたい。

CONDA> pip install scikit-build
CONDA> pip install cmake

CONDA> git clone --recursive -j8 https://github.com/abetlen/llama-cpp-python.git
CONDA> set FORCE_CMAKE=1
CONDA> set CMAKE_ARGS=-DLLAMA_CUBLAS=ON
CONDA> python setup.py install
<略>
Searching for numpy==1.24.0
Best match: numpy 1.24.0
Adding numpy 1.24.0 to easy-install.pth file
Installing f2py-script.py script to C:\Users\end0t\miniconda3\envs\mycuda\Scripts
Installing f2py.exe script to C:\Users\end0t\miniconda3\envs\mycuda\Scripts

Using c:\users\end0t\miniconda3\envs\mycuda\lib\site-packages
Searching for typing-extensions==4.7.1
Best match: typing-extensions 4.7.1
Adding typing-extensions 4.7.1 to easy-install.pth file

Using c:\users\end0t\miniconda3\envs\mycuda\lib\site-packages
Finished processing dependencies for llama-cpp-python==0.1.83

(参考)当初の pip install llama-cpp-python でのエラー

(mycuda) C:\Users\end0t> set CMAKE_ARGS = "-DLLAMA_CUBLAS=ON"
(mycuda) C:\Users\end0t> set FORCE_CMAKE = 1
(mycuda) C:\Users\end0t> python -m pip install -U llama-cpp-python
Collecting llama-cpp-python
  Using cached llama_cpp_python-0.1.83.tar.gz (1.8 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: typing-extensions>=4.5.0 in c:\users\end0t\miniconda3\envs\mycuda\lib\site-packages (from llama-cpp-python) (4.7.1)
Requirement already satisfied: numpy>=1.20.0 in c:\users\end0t\miniconda3\envs\mycuda\lib\site-packages (from llama-cpp-python) (1.24.0)
Collecting diskcache>=5.6.1 (from llama-cpp-python)
  Obtaining dependency information for diskcache>=5.6.1 from https://files.pythonhosted.org/packages/3f/27/4570e78fc0bf5ea0ca45eb1de3818a23787af9b390c0b0a0033a1b8236f9/diskcache-5.6.3-py3-none-any.whl.metadata
  Using cached diskcache-5.6.3-py3-none-any.whl.metadata (20 kB)
Using cached diskcache-5.6.3-py3-none-any.whl (45 kB)
Building wheels for collected packages: llama-cpp-python
  Building wheel for llama-cpp-python (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for llama-cpp-python (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [274 lines of output]


      --------------------------------------------------------------------------------
      -- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator
      --------------------------------
      ---------------------------
      ----------------------
      -----------------
      ------------
      -------
      --
      Not searching for unused variables given on the command line.
      CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
        Compatibility with CMake < 3.5 will be removed from a future version of
        CMake.

        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.


      -- The C compiler identification is unknown
      CMake Error at CMakeLists.txt:3 (ENABLE_LANGUAGE):
        No CMAKE_C_COMPILER could be found.

        Tell CMake where to find the compiler by setting either the environment
        variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
        the compiler, or to the compiler name if it is in the PATH.


      -- Configuring incomplete, errors occurred!
      --
      -------
      ------------
      -----------------
      ----------------------
      ---------------------------
      --------------------------------
      -- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator - failure
      --------------------------------------------------------------------------------



      --------------------------------------------------------------------------------
      -- Trying 'Visual Studio 17 2022 x64 v143' generator
      --------------------------------
      ---------------------------
      ----------------------
      -----------------
      ------------
      -------
      --
      Not searching for unused variables given on the command line.
      CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
        Compatibility with CMake < 3.5 will be removed from a future version of
        CMake.

        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.


      CMake Error at CMakeLists.txt:2 (PROJECT):
        Generator

          Visual Studio 17 2022

        could not find any instance of Visual Studio.



      -- Configuring incomplete, errors occurred!
      --
      -------
      ------------
      -----------------
      ----------------------
      ---------------------------
      --------------------------------
      -- Trying 'Visual Studio 17 2022 x64 v143' generator - failure
      --------------------------------------------------------------------------------



      --------------------------------------------------------------------------------
      -- Trying 'Ninja (Visual Studio 16 2019 x64 v142)' generator
      --------------------------------
      ---------------------------
      ----------------------
      -----------------
      ------------
      -------
      --
      Not searching for unused variables given on the command line.
      CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
        Compatibility with CMake < 3.5 will be removed from a future version of
        CMake.

        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.


      -- The C compiler identification is unknown
      CMake Error at CMakeLists.txt:3 (ENABLE_LANGUAGE):
        No CMAKE_C_COMPILER could be found.

        Tell CMake where to find the compiler by setting either the environment
        variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
        the compiler, or to the compiler name if it is in the PATH.


      -- Configuring incomplete, errors occurred!
      --
      -------
      ------------
      -----------------
      ----------------------
      ---------------------------
      --------------------------------
      -- Trying 'Ninja (Visual Studio 16 2019 x64 v142)' generator - failure
      --------------------------------------------------------------------------------



      --------------------------------------------------------------------------------
      -- Trying 'Visual Studio 16 2019 x64 v142' generator
      --------------------------------
      ---------------------------
      ----------------------
      -----------------
      ------------
      -------
      --
      Not searching for unused variables given on the command line.
      CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
        Compatibility with CMake < 3.5 will be removed from a future version of
        CMake.

        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.


      -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22621.
      -- The C compiler identification is MSVC 19.29.30151.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- The CXX compiler identification is MSVC 19.29.30151.0
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Configuring done (6.2s)
      -- Generating done (0.0s)
      -- Build files have been written to: C:/Users/end0t/AppData/Local/Temp/pip-install-f4zkag_b/llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6/_cmake_test_compile/build
      --
      -------
      ------------
      -----------------
      ----------------------
      ---------------------------
      --------------------------------
      -- Trying 'Visual Studio 16 2019 x64 v142' generator - success
      --------------------------------------------------------------------------------

      Configuring Project
        Working directory:
          C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build
        Command:
          'C:\Users\end0t\AppData\Local\Temp\pip-build-env-5e4j5jh_\overlay\Lib\site-packages\cmake\data\bin/cmake.exe' 'C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6' -G 'Visual Studio 16 2019' --no-warn-unused-cli '-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-install' -DPYTHON_VERSION_STRING:STRING=3.10.12 -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\end0t\AppData\Local\Temp\pip-build-env-5e4j5jh_\overlay\Lib\site-packages\skbuild\resources\cmake' '-DPYTHON_EXECUTABLE:PATH=C:\Users\end0t\miniconda3\envs\mycuda\python.exe' '-DPYTHON_INCLUDE_DIR:PATH=C:\Users\end0t\miniconda3\envs\mycuda\Include' '-DPYTHON_LIBRARY:PATH=C:\Users\end0t\miniconda3\envs\mycuda\libs\python310.lib' '-DPython_EXECUTABLE:PATH=C:\Users\end0t\miniconda3\envs\mycuda\python.exe' '-DPython_ROOT_DIR:PATH=C:\Users\end0t\miniconda3\envs\mycuda' -DPython_FIND_REGISTRY:STRING=NEVER '-DPython_INCLUDE_DIR:PATH=C:\Users\end0t\miniconda3\envs\mycuda\Include' '-DPython_LIBRARY:PATH=C:\Users\end0t\miniconda3\envs\mycuda\libs\python310.lib' '-DPython3_EXECUTABLE:PATH=C:\Users\end0t\miniconda3\envs\mycuda\python.exe' '-DPython3_ROOT_DIR:PATH=C:\Users\end0t\miniconda3\envs\mycuda' -DPython3_FIND_REGISTRY:STRING=NEVER '-DPython3_INCLUDE_DIR:PATH=C:\Users\end0t\miniconda3\envs\mycuda\Include' '-DPython3_LIBRARY:PATH=C:\Users\end0t\miniconda3\envs\mycuda\libs\python310.lib' -T v142 -A x64 -DCMAKE_BUILD_TYPE:STRING=Release

      Not searching for unused variables given on the command line.
      -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22621.
      -- The C compiler identification is MSVC 19.29.30151.0
      -- The CXX compiler identification is MSVC 19.29.30151.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - failed
      -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
      -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - broken
      CMake Error at C:/Users/end0t/AppData/Local/Temp/pip-build-env-5e4j5jh_/overlay/Lib/site-packages/cmake/data/share/cmake-3.27/Modules/CMakeTestCCompiler.cmake:67 (message):
        The C compiler

          "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe"

        is not able to compile a simple test program.

        It fails with the following output:

          Change Dir: 'C:/Users/end0t/AppData/Local/Temp/pip-install-f4zkag_b/llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6/_skbuild/win-amd64-3.10/cmake-build/CMakeFiles/CMakeScratch/TryCompile-lipdwz'

          Run Build Command(s): "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe" cmTC_c1f0e.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:n
          .NET Framework 蜷代¢ Microsoft (R) Build Engine 繝舌\x83シ繧ク繝ァ繝ウ 16.11.2+f32259642
          Copyright (C) Microsoft Corporation.All rights reserved.

          2023/09/02 4:29:37 縺ォ繝薙Ν繝峨r髢句ァ九@縺セ縺励◆縲\x82
          繝弱\x83シ繝\x89 1 荳翫\x81ョ繝励Ο繧ク繧ァ繧ッ繝\x88 "C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj" (譌「螳壹\x81ョ繧ソ繝シ繧イ繝\x83繝\x88)縲\x82
          PrepareForBuild:
            繝\x87繧」繝ャ繧ッ繝医Μ "cmTC_c1f0e.dir\Debug\" 繧剃ス懈\x88舌@縺ヲ縺\x84縺セ縺吶\x82
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(517,5): warning MSB8029: 荳ュ髢薙ョ繧」繝ャ繧ッ繝医Μ縺セ縺溘\x81ッ蜃コ蜉帙ョ繧」繝ャ繧ッ繝医Μ繧剃ク譎ゅョ繧」繝ャ繧ッ繝医Μ縺ォ鄂ョ 縺上%縺ィ縺ッ縺ァ縺阪∪縺帙s縲ゅう繝ウ繧ッ繝ェ繝。繝ウ繧ソ繝ォ 繝薙Ν繝峨〒蝠城。後′逋コ逕溘☆繧句庄閭ス諤ァ縺後≠繧翫∪縺吶\x82 [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
            繝\x87繧」繝ャ繧ッ繝医Μ "C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\Debug\" 繧剃ス懈\x88舌@縺ヲ縺\x84縺セ縺吶\x82
            繝\x87繧」繝ャ繧ッ繝医Μ "cmTC_c1f0e.dir\Debug\cmTC_c1f0e.tlog\" 繧剃ス懈\x88舌@縺ヲ縺\x84縺セ縺吶\x82
          InitializeBuildStatus:
            "AlwaysCreate" 縺梧欠螳壹&繧後◆縺溘a "cmTC_c1f0e.dir\Debug\cmTC_c1f0e.tlog\unsuccessfulbuild" 繧剃ス懈\x88 舌@縺ヲ縺\x84縺セ縺吶\x82
          ClCompile:
            C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_c1f0e.dir\Debug\\" /Fd"cmTC_c1f0e.dir\Debug\vc142.pdb" /external:W1 /Gd /TC /errorReport:queue "C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\testCCompiler.c"
            Microsoft(R) C/C++ Optimizing Compiler Version 19.29.30151 for x64
            Copyright (C) Microsoft Corporation.  All rights reserved.
            testCCompiler.c
            cl /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_c1f0e.dir\Debug\\" /Fd"cmTC_c1f0e.dir\Debug\vc142.pdb" /external:W1 /Gd /TC /errorReport:queue "C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\testCCompiler.c"
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: 謖\x87螳壹&繧後◆繧ソ繧ケ繧ッ螳溯。悟庄閭ス繝輔ぃ繧、繝ォ "CL.exe" 繧貞ョ溯。後〒縺阪∪縺帙s縺ァ縺励◆縲4ystem.IO.DirectoryNotFoundException: 繝代せ 'C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.dir\Debug\cmTC_c1f0e.tlog' 縺ョ荳驛ィ縺瑚ヲ九▽縺九j縺セ縺帙s縺ァ縺励◆縲\x82 [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 System.IO.FileSystemEnumerableIterator`1.CommonInit() [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 System.IO.Directory.GetFiles(String path, String searchPattern) [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 Microsoft.Build.Utilities.TrackedDependencies.ExpandWildcards(ITaskItem[] expand) [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 Microsoft.Build.Utilities.CanonicalTrackedOutputFiles.InternalConstruct(ITask ownerTask, ITaskItem[] tlogFiles, Boolean constructOutputsFromTLogs) [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 Microsoft.Build.Utilities.CanonicalTrackedOutputFiles..ctor(ITaskItem[] tlogFiles) [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 Microsoft.Build.CPPTasks.CL.PostExecuteTool(Int32 exitCode) [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 Microsoft.Build.CPPTasks.TrackedVCToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 Microsoft.Build.Utilities.ToolTask.Execute() [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          繝励Ο繧ク繧ァ繧ッ繝\x88 "C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj" (譌「 螳壹\x81ョ繧ソ繝シ繧イ繝\x83繝\x88) 縺ョ繝薙Ν繝峨′邨ゆコ\x86縺励∪縺励◆ -- 螟ア謨励\x82

          繝薙Ν繝峨↓螟ア謨励@縺セ縺励◆縲\x82

          "C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj" (譌「螳壹\x81ョ繧ソ繝シ繧イ繝\x83繝\x88) (1) ->
          (PrepareForBuild 繧ソ繝シ繧イ繝\x83繝\x88) ->
            C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(517,5): warning MSB8029: 荳ュ髢薙ョ繧」繝ャ繧ッ繝医Μ縺セ縺溘\x81ッ蜃コ蜉帙ョ繧」繝ャ繧ッ繝医Μ繧剃ク譎ゅョ繧」繝ャ繧ッ繝医Μ縺ォ鄂ョ縺上%縺ィ縺ッ縺ァ縺阪∪縺帙s縲ゅう繝ウ繧ッ繝ェ繝。繝ウ繧ソ繝ォ 繝薙Ν繝峨〒蝠城。後′逋コ逕溘☆繧句庄閭ス諤ァ縺後≠繧翫∪縺吶\x82 [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]


          "C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj" (譌「螳壹\x81ョ繧ソ繝シ繧イ繝\x83繝\x88) (1) ->
          (ClCompile 繧ソ繝シ繧イ繝\x83繝\x88) ->
            C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: 謖\x87螳壹&繧後◆繧ソ繧ケ繧ッ螳溯。悟庄閭ス繝輔ぃ繧、繝ォ "CL.exe" 繧貞ョ溯。後〒縺阪∪縺帙s縺ァ縺 励◆縲4ystem.IO.DirectoryNotFoundException: 繝代せ 'C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.dir\Debug\cmTC_c1f0e.tlog' 縺ョ荳驛ィ縺瑚ヲ九▽縺九j縺セ縺帙s縺ァ縺励◆縲\x82 [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 System.IO.FileSystemEnumerableIterator`1.CommonInit() [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 System.IO.Directory.GetFiles(String path, String searchPattern) [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 Microsoft.Build.Utilities.TrackedDependencies.ExpandWildcards(ITaskItem[] expand) [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 Microsoft.Build.Utilities.CanonicalTrackedOutputFiles.InternalConstruct(ITask ownerTask, ITaskItem[] tlogFiles, Boolean constructOutputsFromTLogs) [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 Microsoft.Build.Utilities.CanonicalTrackedOutputFiles..ctor(ITaskItem[] tlogFiles) [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 Microsoft.Build.CPPTasks.CL.PostExecuteTool(Int32 exitCode) [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 Microsoft.Build.CPPTasks.TrackedVCToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]
          C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003:    蝣エ謇 Microsoft.Build.Utilities.ToolTask.Execute() [C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build\CMakeFiles\CMakeScratch\TryCompile-lipdwz\cmTC_c1f0e.vcxproj]

              1 蛟九\x81ョ隴ヲ蜻\x8a
              1 繧ィ繝ゥ繝シ

          邨碁℃譎る俣 00:00:00.51





        CMake will not be able to correctly generate this project.
      Call Stack (most recent call first):
        CMakeLists.txt:3 (project)


      -- Configuring incomplete, errors occurred!
      Traceback (most recent call last):
        File "C:\Users\end0t\AppData\Local\Temp\pip-build-env-5e4j5jh_\overlay\Lib\site-packages\skbuild\setuptools_wrap.py", line 666, in setup
          env = cmkr.configure(
        File "C:\Users\end0t\AppData\Local\Temp\pip-build-env-5e4j5jh_\overlay\Lib\site-packages\skbuild\cmaker.py", line 357, in configure
          raise SKBuildError(msg)

      An error occurred while configuring with CMake.
        Command:
          'C:\Users\end0t\AppData\Local\Temp\pip-build-env-5e4j5jh_\overlay\Lib\site-packages\cmake\data\bin/cmake.exe' 'C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6' -G 'Visual Studio 16 2019' --no-warn-unused-cli '-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-install' -DPYTHON_VERSION_STRING:STRING=3.10.12 -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\end0t\AppData\Local\Temp\pip-build-env-5e4j5jh_\overlay\Lib\site-packages\skbuild\resources\cmake' '-DPYTHON_EXECUTABLE:PATH=C:\Users\end0t\miniconda3\envs\mycuda\python.exe' '-DPYTHON_INCLUDE_DIR:PATH=C:\Users\end0t\miniconda3\envs\mycuda\Include' '-DPYTHON_LIBRARY:PATH=C:\Users\end0t\miniconda3\envs\mycuda\libs\python310.lib' '-DPython_EXECUTABLE:PATH=C:\Users\end0t\miniconda3\envs\mycuda\python.exe' '-DPython_ROOT_DIR:PATH=C:\Users\end0t\miniconda3\envs\mycuda' -DPython_FIND_REGISTRY:STRING=NEVER '-DPython_INCLUDE_DIR:PATH=C:\Users\end0t\miniconda3\envs\mycuda\Include' '-DPython_LIBRARY:PATH=C:\Users\end0t\miniconda3\envs\mycuda\libs\python310.lib' '-DPython3_EXECUTABLE:PATH=C:\Users\end0t\miniconda3\envs\mycuda\python.exe' '-DPython3_ROOT_DIR:PATH=C:\Users\end0t\miniconda3\envs\mycuda' -DPython3_FIND_REGISTRY:STRING=NEVER '-DPython3_INCLUDE_DIR:PATH=C:\Users\end0t\miniconda3\envs\mycuda\Include' '-DPython3_LIBRARY:PATH=C:\Users\end0t\miniconda3\envs\mycuda\libs\python310.lib' -T v142 -A x64 -DCMAKE_BUILD_TYPE:STRING=Release
        Source directory:
          C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6
        Working directory:
          C:\Users\end0t\AppData\Local\Temp\pip-install-f4zkag_b\llama-cpp-python_1ea58c1ca6f0400ab3fbc6e118a13df6\_skbuild\win-amd64-3.10\cmake-build
      Please see CMake's output for more information.

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for llama-cpp-python
Failed to build llama-cpp-python
ERROR: Could not build wheels for llama-cpp-python, which is required to install pyproject.toml-based projects

(mycuda) C:\Users\end0t>