maociao / llm-semantic-site-search

0 stars 0 forks source link

Install fails on Windows - Failed to build faiss-cpu tiktoken aiohttp pyarrow #7

Closed maoberpriller closed 11 months ago

maoberpriller commented 11 months ago
Building wheels for collected packages: faiss-cpu, tiktoken, aiohttp, pyarrow
  Building wheel for faiss-cpu (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for faiss-cpu (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      running bdist_wheel
      running build
      running build_py
      running build_ext
      building 'faiss._swigfaiss' extension
      swigging faiss\faiss\python\swigfaiss.i to faiss\faiss\python\swigfaiss_wrap.cpp
      swig.exe -python -c++ -Doverride= -I/usr/local/include -Ifaiss -doxygen -DSWIGWIN -module swigfaiss -o faiss\faiss\python\swigfaiss_wrap.cpp faiss\faiss\python\swigfaiss.i
      error: command 'swig.exe' failed: None
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for faiss-cpu
  Building wheel for tiktoken (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for tiktoken (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [38 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-312
      creating build\lib.win-amd64-cpython-312\tiktoken
      copying tiktoken\core.py -> build\lib.win-amd64-cpython-312\tiktoken
      copying tiktoken\load.py -> build\lib.win-amd64-cpython-312\tiktoken
      copying tiktoken\model.py -> build\lib.win-amd64-cpython-312\tiktoken
      copying tiktoken\registry.py -> build\lib.win-amd64-cpython-312\tiktoken
      copying tiktoken\_educational.py -> build\lib.win-amd64-cpython-312\tiktoken
      copying tiktoken\__init__.py -> build\lib.win-amd64-cpython-312\tiktoken
      creating build\lib.win-amd64-cpython-312\tiktoken_ext
      copying tiktoken_ext\openai_public.py -> build\lib.win-amd64-cpython-312\tiktoken_ext
      running egg_info
      writing tiktoken.egg-info\PKG-INFO
      writing dependency_links to tiktoken.egg-info\dependency_links.txt
      writing requirements to tiktoken.egg-info\requires.txt
      writing top-level names to tiktoken.egg-info\top_level.txt
      reading manifest file 'tiktoken.egg-info\SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no files found matching 'Makefile'
      adding license file 'LICENSE'
      writing manifest file 'tiktoken.egg-info\SOURCES.txt'
      copying tiktoken\py.typed -> build\lib.win-amd64-cpython-312\tiktoken
      running build_ext
      running build_rust
      error: can't find Rust compiler

      If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

      To update pip, run:

          pip install --upgrade pip

      and then retry package installation.

      If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for tiktoken
  Building wheel for aiohttp (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for aiohttp (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [110 lines of output]
      *********************
      * Accelerated build *
      *********************
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-312
      creating build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\abc.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\base_protocol.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\client.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\client_exceptions.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\client_proto.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\client_reqrep.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\client_ws.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\connector.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\cookiejar.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\formdata.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\hdrs.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\helpers.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\http.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\http_exceptions.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\http_parser.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\http_websocket.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\http_writer.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\locks.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\log.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\multipart.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\payload.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\payload_streamer.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\pytest_plugin.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\resolver.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\streams.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\tcp_helpers.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\test_utils.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\tracing.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\typedefs.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\web.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\web_app.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\web_exceptions.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\web_fileresponse.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\web_log.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\web_middlewares.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\web_protocol.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\web_request.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\web_response.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\web_routedef.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\web_runner.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\web_server.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\web_urldispatcher.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\web_ws.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\worker.py -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\__init__.py -> build\lib.win-amd64-cpython-312\aiohttp
      running egg_info
      writing aiohttp.egg-info\PKG-INFO
      writing dependency_links to aiohttp.egg-info\dependency_links.txt
      writing requirements to aiohttp.egg-info\requires.txt
      writing top-level names to aiohttp.egg-info\top_level.txt
      reading manifest file 'aiohttp.egg-info\SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no files found matching 'aiohttp' anywhere in distribution
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      warning: no previously-included files matching '*.pyd' found anywhere in distribution
      warning: no previously-included files matching '*.so' found anywhere in distribution
      warning: no previously-included files matching '*.lib' found anywhere in distribution
      warning: no previously-included files matching '*.dll' found anywhere in distribution
      warning: no previously-included files matching '*.a' found anywhere in distribution
      warning: no previously-included files matching '*.obj' found anywhere in distribution
      warning: no previously-included files found matching 'aiohttp\*.html'
      no previously-included directories found matching 'docs\_build'
      adding license file 'LICENSE.txt'
      writing manifest file 'aiohttp.egg-info\SOURCES.txt'
      copying aiohttp\_cparser.pxd -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\_find_header.pxd -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\_headers.pxi -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\_helpers.pyi -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\_helpers.pyx -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\_http_parser.pyx -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\_http_writer.pyx -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\_websocket.pyx -> build\lib.win-amd64-cpython-312\aiohttp
      copying aiohttp\py.typed -> build\lib.win-amd64-cpython-312\aiohttp
      creating build\lib.win-amd64-cpython-312\aiohttp\.hash
      copying aiohttp\.hash\_cparser.pxd.hash -> build\lib.win-amd64-cpython-312\aiohttp\.hash
      copying aiohttp\.hash\_find_header.pxd.hash -> build\lib.win-amd64-cpython-312\aiohttp\.hash
      copying aiohttp\.hash\_helpers.pyi.hash -> build\lib.win-amd64-cpython-312\aiohttp\.hash
      copying aiohttp\.hash\_helpers.pyx.hash -> build\lib.win-amd64-cpython-312\aiohttp\.hash
      copying aiohttp\.hash\_http_parser.pyx.hash -> build\lib.win-amd64-cpython-312\aiohttp\.hash
      copying aiohttp\.hash\_http_writer.pyx.hash -> build\lib.win-amd64-cpython-312\aiohttp\.hash
      copying aiohttp\.hash\_websocket.pyx.hash -> build\lib.win-amd64-cpython-312\aiohttp\.hash
      copying aiohttp\.hash\hdrs.py.hash -> build\lib.win-amd64-cpython-312\aiohttp\.hash
      running build_ext
      building 'aiohttp._websocket' extension
      creating build\temp.win-amd64-cpython-312
      creating build\temp.win-amd64-cpython-312\Release
      creating build\temp.win-amd64-cpython-312\Release\aiohttp
      "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ic:\Users\maoberprille\workspace\llm-semantic-site-search\.venv\include -IC:\Users\maoberprille\AppData\Local\Programs\Python\Python312\include -IC:\Users\maoberprille\AppData\Local\Programs\Python\Python312\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" /Tcaiohttp/_websocket.c /Fobuild\temp.win-amd64-cpython-312\Release\aiohttp/_websocket.obj
      _websocket.c
      aiohttp/_websocket.c(1475): warning C4996: 'Py_OptimizeFlag': deprecated in 3.12
      aiohttp/_websocket.c(3042): error C2039: 'ob_digit': is not a member of '_longobject'
      C:\Users\maoberprille\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
      aiohttp/_websocket.c(3097): error C2039: 'ob_digit': is not a member of '_longobject'
      C:\Users\maoberprille\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
      aiohttp/_websocket.c(3238): error C2039: 'ob_digit': is not a member of '_longobject'
      C:\Users\maoberprille\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
      aiohttp/_websocket.c(3293): error C2039: 'ob_digit': is not a member of '_longobject'
      C:\Users\maoberprille\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
      aiohttp/_websocket.c(3744): error C2039: 'ob_digit': is not a member of '_longobject'
      C:\Users\maoberprille\AppData\Local\Programs\Python\Python312\include\cpython/longintrepr.h(87): note: see declaration of '_longobject'
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.37.32822\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for aiohttp
  Building wheel for pyarrow (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pyarrow (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [287 lines of output]
      <string>:34: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-312
      creating build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\acero.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\benchmark.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\cffi.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\compute.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\conftest.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\csv.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\cuda.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\dataset.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\feather.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\filesystem.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\flight.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\fs.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\hdfs.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\ipc.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\json.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\jvm.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\orc.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\pandas_compat.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\substrait.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\types.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\util.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_compute_docstrings.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_generated_version.py -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\__init__.py -> build\lib.win-amd64-cpython-312\pyarrow
      creating build\lib.win-amd64-cpython-312\pyarrow\interchange
      copying pyarrow\interchange\buffer.py -> build\lib.win-amd64-cpython-312\pyarrow\interchange
      copying pyarrow\interchange\column.py -> build\lib.win-amd64-cpython-312\pyarrow\interchange
      copying pyarrow\interchange\dataframe.py -> build\lib.win-amd64-cpython-312\pyarrow\interchange
      copying pyarrow\interchange\from_dataframe.py -> build\lib.win-amd64-cpython-312\pyarrow\interchange
      copying pyarrow\interchange\__init__.py -> build\lib.win-amd64-cpython-312\pyarrow\interchange
      creating build\lib.win-amd64-cpython-312\pyarrow\parquet
      copying pyarrow\parquet\core.py -> build\lib.win-amd64-cpython-312\pyarrow\parquet
      copying pyarrow\parquet\encryption.py -> build\lib.win-amd64-cpython-312\pyarrow\parquet
      copying pyarrow\parquet\__init__.py -> build\lib.win-amd64-cpython-312\pyarrow\parquet
      creating build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\arrow_16597.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\arrow_7980.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\conftest.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\pandas_examples.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\pandas_threaded_import.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\read_record_batch.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\strategies.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_acero.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_adhoc_memory_leak.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_array.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_builder.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_cffi.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_compute.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_convert_builtin.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_cpp_internals.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_csv.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_cuda.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_cuda_numba_interop.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_cython.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_dataset.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_deprecations.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_exec_plan.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_extension_type.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_feather.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_filesystem.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_flight.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_fs.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_gandiva.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_gdb.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_hdfs.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_io.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_ipc.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_json.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_jvm.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_memory.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_misc.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_orc.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_pandas.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_scalars.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_schema.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_sparse_tensor.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_strategies.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_substrait.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_table.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_tensor.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_types.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_udf.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\test_util.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\util.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\__init__.py -> build\lib.win-amd64-cpython-312\pyarrow\tests
      creating build\lib.win-amd64-cpython-312\pyarrow\vendored
      copying pyarrow\vendored\docscrape.py -> build\lib.win-amd64-cpython-312\pyarrow\vendored
      copying pyarrow\vendored\version.py -> build\lib.win-amd64-cpython-312\pyarrow\vendored
      copying pyarrow\vendored\__init__.py -> build\lib.win-amd64-cpython-312\pyarrow\vendored
      creating build\lib.win-amd64-cpython-312\pyarrow\tests\interchange
      copying pyarrow\tests\interchange\test_conversion.py -> build\lib.win-amd64-cpython-312\pyarrow\tests\interchange
      copying pyarrow\tests\interchange\test_interchange_spec.py -> build\lib.win-amd64-cpython-312\pyarrow\tests\interchange
      copying pyarrow\tests\interchange\__init__.py -> build\lib.win-amd64-cpython-312\pyarrow\tests\interchange
      creating build\lib.win-amd64-cpython-312\pyarrow\tests\parquet
      copying pyarrow\tests\parquet\common.py -> build\lib.win-amd64-cpython-312\pyarrow\tests\parquet
      copying pyarrow\tests\parquet\conftest.py -> build\lib.win-amd64-cpython-312\pyarrow\tests\parquet
      copying pyarrow\tests\parquet\encryption.py -> build\lib.win-amd64-cpython-312\pyarrow\tests\parquet
      copying pyarrow\tests\parquet\test_basic.py -> build\lib.win-amd64-cpython-312\pyarrow\tests\parquet
      copying pyarrow\tests\parquet\test_compliant_nested_type.py -> build\lib.win-amd64-cpython-312\pyarrow\tests\parquet
      copying pyarrow\tests\parquet\test_dataset.py -> build\lib.win-amd64-cpython-312\pyarrow\tests\parquet
      copying pyarrow\tests\parquet\test_data_types.py -> build\lib.win-amd64-cpython-312\pyarrow\tests\parquet
      copying pyarrow\tests\parquet\test_datetime.py -> build\lib.win-amd64-cpython-312\pyarrow\tests\parquet
      copying pyarrow\tests\parquet\test_encryption.py -> build\lib.win-amd64-cpython-312\pyarrow\tests\parquet
      copying pyarrow\tests\parquet\test_metadata.py -> build\lib.win-amd64-cpython-312\pyarrow\tests\parquet
      copying pyarrow\tests\parquet\test_pandas.py -> build\lib.win-amd64-cpython-312\pyarrow\tests\parquet
      copying pyarrow\tests\parquet\test_parquet_file.py -> build\lib.win-amd64-cpython-312\pyarrow\tests\parquet
      copying pyarrow\tests\parquet\test_parquet_writer.py -> build\lib.win-amd64-cpython-312\pyarrow\tests\parquet
      copying pyarrow\tests\parquet\__init__.py -> build\lib.win-amd64-cpython-312\pyarrow\tests\parquet
      running egg_info
      writing pyarrow.egg-info\PKG-INFO
      writing dependency_links to pyarrow.egg-info\dependency_links.txt
      writing requirements to pyarrow.egg-info\requires.txt
      writing top-level names to pyarrow.egg-info\top_level.txt
      ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
      reading manifest file 'pyarrow.egg-info\SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no files found matching '..\LICENSE.txt'
      warning: no files found matching '..\NOTICE.txt'
      warning: no previously-included files matching '*.so' found anywhere in distribution
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      warning: no previously-included files matching '*~' found anywhere in distribution
      warning: no previously-included files matching '#*' found anywhere in distribution
      warning: no previously-included files matching '.git*' found anywhere in distribution
      warning: no previously-included files matching '.DS_Store' found anywhere in distribution
      no previously-included directories found matching '.asv'
      writing manifest file 'pyarrow.egg-info\SOURCES.txt'
      copying pyarrow\__init__.pxd -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_acero.pxd -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_acero.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_compute.pxd -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_compute.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_csv.pxd -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_csv.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_cuda.pxd -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_cuda.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_dataset.pxd -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_dataset.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_dataset_orc.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_dataset_parquet.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_feather.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_flight.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_fs.pxd -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_fs.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_gcsfs.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_hdfs.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_hdfsio.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_json.pxd -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_json.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_orc.pxd -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_orc.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_parquet.pxd -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_parquet.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_parquet_encryption.pxd -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_parquet_encryption.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_pyarrow_cpp_tests.pxd -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_pyarrow_cpp_tests.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_s3fs.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\_substrait.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\array.pxi -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\benchmark.pxi -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\builder.pxi -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\compat.pxi -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\config.pxi -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\error.pxi -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\gandiva.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\io.pxi -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\ipc.pxi -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\lib.pxd -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\lib.pyx -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\memory.pxi -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\pandas-shim.pxi -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\public-api.pxi -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\scalar.pxi -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\table.pxi -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\tensor.pxi -> build\lib.win-amd64-cpython-312\pyarrow
      copying pyarrow\types.pxi -> build\lib.win-amd64-cpython-312\pyarrow
      creating build\lib.win-amd64-cpython-312\pyarrow\includes
      copying pyarrow\includes\common.pxd -> build\lib.win-amd64-cpython-312\pyarrow\includes
      copying pyarrow\includes\libarrow.pxd -> build\lib.win-amd64-cpython-312\pyarrow\includes
      copying pyarrow\includes\libarrow_acero.pxd -> build\lib.win-amd64-cpython-312\pyarrow\includes
      copying pyarrow\includes\libarrow_cuda.pxd -> build\lib.win-amd64-cpython-312\pyarrow\includes
      copying pyarrow\includes\libarrow_dataset.pxd -> build\lib.win-amd64-cpython-312\pyarrow\includes
      copying pyarrow\includes\libarrow_dataset_parquet.pxd -> build\lib.win-amd64-cpython-312\pyarrow\includes
      copying pyarrow\includes\libarrow_feather.pxd -> build\lib.win-amd64-cpython-312\pyarrow\includes
      copying pyarrow\includes\libarrow_flight.pxd -> build\lib.win-amd64-cpython-312\pyarrow\includes
      copying pyarrow\includes\libarrow_fs.pxd -> build\lib.win-amd64-cpython-312\pyarrow\includes
      copying pyarrow\includes\libarrow_python.pxd -> build\lib.win-amd64-cpython-312\pyarrow\includes
      copying pyarrow\includes\libarrow_substrait.pxd -> build\lib.win-amd64-cpython-312\pyarrow\includes
      copying pyarrow\includes\libgandiva.pxd -> build\lib.win-amd64-cpython-312\pyarrow\includes
      copying pyarrow\includes\__init__.pxd -> build\lib.win-amd64-cpython-312\pyarrow\includes
      copying pyarrow\tests\bound_function_visit_strings.pyx -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\extensions.pyx -> build\lib.win-amd64-cpython-312\pyarrow\tests
      copying pyarrow\tests\pyarrow_cython_example.pyx -> build\lib.win-amd64-cpython-312\pyarrow\tests
      creating build\lib.win-amd64-cpython-312\pyarrow\src
      creating build\lib.win-amd64-cpython-312\pyarrow\src\arrow
      creating build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\CMakeLists.txt -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\api.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\arrow_to_pandas.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\arrow_to_pandas.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\arrow_to_python_internal.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\benchmark.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\benchmark.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\common.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\common.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\csv.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\csv.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\datetime.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\datetime.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\decimal.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\decimal.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\deserialize.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\deserialize.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\extension_type.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\extension_type.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\filesystem.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\filesystem.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\flight.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\flight.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\gdb.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\gdb.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\helpers.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\helpers.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\inference.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\inference.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\init.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\init.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\io.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\io.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\ipc.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\ipc.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\iterators.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\numpy_convert.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\numpy_convert.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\numpy_internal.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\numpy_interop.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\numpy_to_arrow.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\numpy_to_arrow.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\parquet_encryption.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\parquet_encryption.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\pch.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\platform.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\pyarrow.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\pyarrow.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\pyarrow_api.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\pyarrow_lib.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\python_test.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\python_test.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\python_to_arrow.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\python_to_arrow.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\serialize.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\serialize.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\type_traits.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\udf.cc -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\udf.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      copying pyarrow\src\arrow\python\visibility.h -> build\lib.win-amd64-cpython-312\pyarrow\src\arrow\python
      creating build\lib.win-amd64-cpython-312\pyarrow\tests\data
      creating build\lib.win-amd64-cpython-312\pyarrow\tests\data\feather
      copying pyarrow\tests\data\feather\v0.17.0.version.2-compression.lz4.feather -> build\lib.win-amd64-cpython-312\pyarrow\tests\data\feather
      creating build\lib.win-amd64-cpython-312\pyarrow\tests\data\orc
      copying pyarrow\tests\data\orc\README.md -> build\lib.win-amd64-cpython-312\pyarrow\tests\data\orc
      copying pyarrow\tests\data\orc\TestOrcFile.emptyFile.jsn.gz -> build\lib.win-amd64-cpython-312\pyarrow\tests\data\orc
      copying pyarrow\tests\data\orc\TestOrcFile.emptyFile.orc -> build\lib.win-amd64-cpython-312\pyarrow\tests\data\orc
      copying pyarrow\tests\data\orc\TestOrcFile.test1.jsn.gz -> build\lib.win-amd64-cpython-312\pyarrow\tests\data\orc
      copying pyarrow\tests\data\orc\TestOrcFile.test1.orc -> build\lib.win-amd64-cpython-312\pyarrow\tests\data\orc
      copying pyarrow\tests\data\orc\TestOrcFile.testDate1900.jsn.gz -> build\lib.win-amd64-cpython-312\pyarrow\tests\data\orc
      copying pyarrow\tests\data\orc\TestOrcFile.testDate1900.orc -> build\lib.win-amd64-cpython-312\pyarrow\tests\data\orc
      copying pyarrow\tests\data\orc\decimal.jsn.gz -> build\lib.win-amd64-cpython-312\pyarrow\tests\data\orc
      copying pyarrow\tests\data\orc\decimal.orc -> build\lib.win-amd64-cpython-312\pyarrow\tests\data\orc
      creating build\lib.win-amd64-cpython-312\pyarrow\tests\data\parquet
      copying pyarrow\tests\data\parquet\v0.7.1.all-named-index.parquet -> build\lib.win-amd64-cpython-312\pyarrow\tests\data\parquet
      copying pyarrow\tests\data\parquet\v0.7.1.column-metadata-handling.parquet -> build\lib.win-amd64-cpython-312\pyarrow\tests\data\parquet
      copying pyarrow\tests\data\parquet\v0.7.1.parquet -> build\lib.win-amd64-cpython-312\pyarrow\tests\data\parquet
      copying pyarrow\tests\data\parquet\v0.7.1.some-named-index.parquet -> build\lib.win-amd64-cpython-312\pyarrow\tests\data\parquet
      running build_ext
      creating C:\Users\maoberprille\AppData\Local\Temp\pip-install-7lmgxu5c\pyarrow_8637e235c5d64994b25c4cab229b507c\build\temp.win-amd64-cpython-312
      -- Running cmake for PyArrow
      cmake -DCMAKE_INSTALL_PREFIX=C:\Users\maoberprille\AppData\Local\Temp\pip-install-7lmgxu5c\pyarrow_8637e235c5d64994b25c4cab229b507c\build\lib.win-amd64-cpython-312\pyarrow -DPYTHON_EXECUTABLE=c:\Users\maoberprille\workspace\llm-semantic-site-search\.venv\Scripts\python.exe -DPython3_EXECUTABLE=c:\Users\maoberprille\workspace\llm-semantic-site-search\.venv\Scripts\python.exe -DPYARROW_CXXFLAGS= -G "Visual Studio 15 2017 Win64" -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_SUBSTRAIT=off -DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off -DPYARROW_BUILD_ACERO=off -DPYARROW_BUILD_DATASET=off -DPYARROW_BUILD_ORC=off -DPYARROW_BUILD_PARQUET=off 
-DPYARROW_BUILD_PARQUET_ENCRYPTION=off -DPYARROW_BUILD_GCS=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off -DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_CYTHON_CPP=off -DPYARROW_GENERATE_COVERAGE=off -DCMAKE_BUILD_TYPE=release C:\Users\maoberprille\AppData\Local\Temp\pip-install-7lmgxu5c\pyarrow_8637e235c5d64994b25c4cab229b507c
      error: command 'cmake' failed: None
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyarrow
Failed to build faiss-cpu tiktoken aiohttp pyarrow
ERROR: Could not build wheels for faiss-cpu, tiktoken, aiohttp, pyarrow, which is required to install pyproject.toml-based projects
maociao commented 11 months ago

The problem was due to missing wheels for the PyMuDF, FAISS-cpu, and tiktoken libraries, which causes pip to try and build from source. Unless Windows Visual Studio is installed on your machine, you will get these errors. This appears to only be an issue with python version 3.12 and above. Downgrading to python 3.10 or 3.11 resolves this issue. However, you will still get a failure on the llama-cpp-python library as it can only built from source. If you don't plan on using a local model, you can just skip it by commenting it out of the requirements.txt file. The app will run without llama support, but the OpenAI models will work just fine.