-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] ERROR: Failed building wheel for llama-cpp-python #577
Comments
F:\rag\another method>conda create -n kotaemon python=3.10
Package Planenvironment location: C:\Users\Sushant\anaconda3\envs\kotaemon added / updated specs: The following NEW packages will be INSTALLED: bzip2 pkgs/main/win-64::bzip2-1.0.8-h2bbff1b_6 Proceed ([y]/n)? y Downloading and Extracting Packages: Preparing transaction: done To activate this environment, use$ conda activate kotaemonTo deactivate an active environment, use$ conda deactivateF:\rag\another method>conda activate kotaemon (kotaemon) F:\rag\another method>git clone https://github.com/Cinnamon/kotaemon (kotaemon) F:\rag\another method>cd kotaemon (kotaemon) F:\rag\another method\kotaemon>pip install -e "libs/kotaemon[all]" × Building wheel for llama-cpp-python (pyproject.toml) did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. [notice] A new release of pip is available: 23.3.1 -> 24.3.1 (kotaemon) F:\rag\another method\kotaemon>conda create -n kotaemon python=3.10 CondaSystemExit: Exiting. (kotaemon) F:\rag\another method\kotaemon> |
Description
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 859.9 kB/s eta 0:00:00
Downloading asgiref-3.8.1-py3-none-any.whl (23 kB)
Downloading asttokens-3.0.0-py3-none-any.whl (26 kB)
Downloading cachetools-5.5.0-py3-none-any.whl (9.5 kB)
Using cached cryptography-44.0.0-cp39-abi3-win_amd64.whl (3.2 MB)
Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.0/469.0 kB 1.4 MB/s eta 0:00:00
Downloading eval_type_backport-0.2.0-py3-none-any.whl (5.9 kB)
Using cached executing-2.1.0-py2.py3-none-any.whl (25 kB)
Downloading google_auth_httplib2-0.2.0-py2.py3-none-any.whl (9.3 kB)
Downloading grpcio_tools-1.62.3-cp310-cp310-win_amd64.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 1.5 MB/s eta 0:00:00
Downloading httplib2-0.22.0-py3-none-any.whl (96 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.9/96.9 kB 931.3 kB/s eta 0:00:00
Downloading humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.8/86.8 kB 814.4 kB/s eta 0:00:00
Downloading jsonpath_python-1.0.6-py3-none-any.whl (7.6 kB)
Downloading jsonpointer-3.0.0-py2.py3-none-any.whl (7.6 kB)
Downloading linkify_it_py-2.0.3-py3-none-any.whl (19 kB)
Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Downloading mpmath-1.3.0-py3-none-any.whl (536 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 kB 990.5 kB/s eta 0:00:00
Downloading parso-0.8.4-py2.py3-none-any.whl (103 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.7/103.7 kB 993.7 kB/s eta 0:00:00
Using cached portalocker-2.10.1-py3-none-any.whl (18 kB)
Downloading proto_plus-1.25.0-py3-none-any.whl (50 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.1/50.1 kB 848.6 kB/s eta 0:00:00
Downloading pyarrow-18.1.0-cp310-cp310-win_amd64.whl (25.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25.1/25.1 MB 1.7 MB/s eta 0:00:00
Downloading pyasn1_modules-0.4.1-py3-none-any.whl (181 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.5/181.5 kB 2.2 MB/s eta 0:00:00
Downloading rsa-4.9-py3-none-any.whl (34 kB)
Downloading safetensors-0.4.5-cp310-none-win_amd64.whl (285 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 285.9/285.9 kB 1.2 MB/s eta 0:00:00
Downloading ujson-5.10.0-cp310-cp310-win_amd64.whl (42 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.1/42.1 kB 677.4 kB/s eta 0:00:00
Downloading uritemplate-4.1.1-py2.py3-none-any.whl (10 kB)
Downloading win32_setctime-1.2.0-py3-none-any.whl (4.1 kB)
Downloading zipp-3.21.0-py3-none-any.whl (9.6 kB)
Downloading mdit_py_plugins-0.4.2-py3-none-any.whl (55 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.3/55.3 kB 959.1 kB/s eta 0:00:00
Downloading olefile-0.47-py2.py3-none-any.whl (114 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.6/114.6 kB 957.1 kB/s eta 0:00:00
Downloading pure_eval-0.2.3-py3-none-any.whl (11 kB)
Downloading wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Using cached cffi-1.17.1-cp310-cp310-win_amd64.whl (181 kB)
Downloading grpcio_status-1.62.3-py3-none-any.whl (14 kB)
Downloading h2-4.1.0-py3-none-any.whl (57 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.5/57.5 kB 429.5 kB/s eta 0:00:00
Downloading pyasn1-0.6.1-py3-none-any.whl (83 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.1/83.1 kB 467.3 kB/s eta 0:00:00
Using cached pywin32-308-cp310-cp310-win_amd64.whl (6.6 MB)
Downloading pyreadline3-3.5.4-py3-none-any.whl (83 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.2/83.2 kB 583.5 kB/s eta 0:00:00
Downloading uc_micro_py-1.0.3-py3-none-any.whl (6.2 kB)
Downloading hpack-4.0.0-py3-none-any.whl (32 kB)
Downloading hyperframe-6.0.1-py3-none-any.whl (12 kB)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Checking if build backend supports build_editable ... done
Building wheels for collected packages: html2text, umap-learn, kotaemon, llama-cpp-python, pypika, wikipedia, langdetect
Building wheel for html2text (setup.py) ... done
Created wheel for html2text: filename=html2text-2024.2.26-py3-none-any.whl size=11380 sha256=de0b8b0da4bc04171b578d6cfa5b83ae725eb3da15cc5bd53984279a9e922de9
Stored in directory: c:\users\sushant\appdata\local\pip\cache\wheels\f3\96\6d\a7eba8f80d31cbd188a2787b81514d82fc5ae6943c44777659
Building wheel for umap-learn (setup.py) ... done
Created wheel for umap-learn: filename=umap_learn-0.5.5-py3-none-any.whl size=8635 sha256=0442be53a6faf526818e59c815f82f2ed8f9bd84da03f0849508d8c35f05455d
Stored in directory: c:\users\sushant\appdata\local\pip\cache\wheels\3a\70\07\428d2b58660a1a3b431db59b806a10da736612ebbc66c1bcc5
Building editable for kotaemon (pyproject.toml) ... done
Created wheel for kotaemon: filename=kotaemon-0.9.8-0.editable-py3-none-any.whl size=5617 sha256=c3483c895c73088ca9ab7d2a87547a13df78e0dcf3294c7baa468650d71d884e
Stored in directory: C:\Users\Sushant\AppData\Local\Temp\pip-ephem-wheel-cache-53f_osjo\wheels\62\90\1d\4c83744f8288d3186f6a43544e141af133a2f6529a2c6bb268
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
╰─> [8 lines of output]
*** scikit-build-core 0.10.7 using CMake 3.31.2 (wheel)
*** Configuring CMake...
2024-12-17 22:08:04,653 - scikit_build_core - WARNING - Can't find a Python library, got libdir=None, ldlibrary=None, multiarch=None, masd=None
loading initial cache file C:\Users\Sushant\AppData\Local\Temp\tmpbmorly8o\build\CMakeInit.txt
CMake Error: The source directory "C:/Users/Sushant/AppData/Local/Temp/pip-install-u9wdj3rd/llama-cpp-python_11ead10b553a4c7e90a318e34691f2fc" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for llama-cpp-python
Building wheel for pypika (pyproject.toml) ... done
Created wheel for pypika: filename=PyPika-0.48.9-py2.py3-none-any.whl size=15339 sha256=8ae6aa93d84f62211ee66814c09b1c50aa50692ebd86d63d8df038e7e9d07149
Stored in directory: c:\users\sushant\appdata\local\pip\cache\wheels\e1\26\51\d0bffb3d2fd82256676d7ad3003faea3bd6dddc9577af665f4
Building wheel for wikipedia (setup.py) ... done
Created wheel for wikipedia: filename=wikipedia-1.4.0-py3-none-any.whl size=3177 sha256=e5f91260c58518bbc0c26f846b5b1e38f961d1d4f4329f9dffa79ea8dbf513ac
Stored in directory: c:\users\sushant\appdata\local\pip\cache\wheels\5e\b6\c5\93f3dec388ae76edc830cb42901bb0232504dfc0df02fc50de
Building wheel for langdetect (setup.py) ... done
Created wheel for langdetect: filename=langdetect-1.0.9-py3-none-any.whl size=2725 sha256=2d07bf896680b833761814ce8e89aebcdf6ab16ffbce5537159a3ed8984f6481
Stored in directory: c:\users\sushant\appdata\local\pip\cache\wheels\95\03\7d\59ea870c70ce4e5a370638b5462a7711ab78fba2f655d05106
Successfully built html2text umap-learn kotaemon pypika wikipedia langdetect
Failed to build llama-cpp-python
ERROR: Could not build wheels for llama-cpp-python, which is required to install pyproject.toml-based projects
[notice] A new release of pip is available: 23.3.1 -> 24.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
(kotaemon) F:\rag\another method\kotaemon>conda create -n kotaemon python=3.10
Reproduction steps
Screenshots
![DESCRIPTION](LINK.png)
Logs
Browsers
No response
OS
Windows
Additional information
No response
The text was updated successfully, but these errors were encountered: