-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Describe the bug
When i clone the repo and build the docker image it fails.
To Reproduce
Steps to reproduce the behavior:
- Clone the repo
- run docker-build -t rag-services .
- Following is the error
1181df580a93ca1d0d34bf4128ebfdaefd52b
647.9 Stored in directory: /root/.cache/pip/wheels/91/82/f2/b2457c7bb7c8304bdf32a2b6dcbd42ec17c4cd979b3a0e93f6
647.9 Successfully built antlr4-python3-runtime bnnumerizer docopt encodec ffmpy gruut gruut-ipa gruut-lang-de gruut-lang-en gruut-lang-es gruut-lang-fr iopath jieba langdetect nuitka openai-whisper pypika sentence-transformers trash-cli
647.9 Failed to build llama-cpp-python
647.9 Pip subprocess error:
647.9 WARNING: The candidate selected for download or install is a yanked version: 'langsmith' candidate (version 0.1.65 at https://files.pythonhosted.org/packages/95/01/e66bf89a6be56236854cfd8f02abaf69a1bc13f31ba616dc517b89378d19/langsmith-0.1.65-py3-none-any.whl (from https://pypi.org/simple/langsmith/) (requires-python:<4.0,>=3.8.1))
647.9 Reason for being yanked: When streaming llm tokens, since RunTree events default to null, LangChain core will raise an error
647.9 error: subprocess-exited-with-error
647.9
647.9 × Building wheel for llama-cpp-python (pyproject.toml) did not run successfully.
647.9 │ exit code: 1
647.9 ╰─> [16 lines of output]
647.9 *** scikit-build-core 0.10.7 using CMake 3.31.4 (wheel)
647.9 *** Configuring CMake...
647.9 loading initial cache file /tmp/tmp0onixu1_/build/CMakeInit.txt
647.9 CMake Error at /tmp/pip-build-env-ivwkljl5/normal/lib/python3.11/site-packages/cmake/data/share/cmake-3.31/Modules/CMakeDetermineCCompiler.cmake:49 (message):
647.9 Could not find compiler set in environment variable CC:
647.9
647.9 gcc -pthread -B /opt/conda/envs/rag_env/compiler_compat.
647.9 Call Stack (most recent call first):
647.9 CMakeLists.txt:3 (project)
647.9
647.9
647.9 CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
647.9 CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
647.9 -- Configuring incomplete, errors occurred!
647.9
647.9 *** CMake configuration failed
647.9 [end of output]
647.9
647.9 note: This error originates from a subprocess, and is likely not a problem with pip.
647.9 ERROR: Failed building wheel for llama-cpp-python
647.9 ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (llama-cpp-python)
647.9
648.0
648.failed
648.0
648.0 CondaEnvException: Pip failed
648.0
------
Dockerfile:7
--------------------
5 | # Create the environment:
6 | COPY environment.yml .
7 | >>> RUN conda env create -f environment.yml
8 |
9 | # Make RUN commands use the new environment:
--------------------
ERROR: failed to solve: process "/bin/sh -c conda env create -f environment.yml" did not complete successfully: exit code: 1
Metadata
Metadata
Assignees
Labels
No labels