-
Notifications
You must be signed in to change notification settings - Fork 831
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
Windows Docker compose fail #73
Comments
it seems as some dependencies haven't finished their installation. Can you try and reproduce but this time include the environmental configuration and a bigger chunk of the output including the compose up command. Try to start with --build flag so we could see more verbose output. |
Sure, it's long though. .env file is pretty basic, using Open AI, I think I have all the required params: Issue could be "error: can't find Rust compiler" but I wasn't aware I needed one. ***Copy.pasta docker compose up --build
|
That is probably an issue with the Python version, some packages like pyarrow don't have yet a build wheel for Python 3.12 (then you need to build it, and it seems to fail in your case due to old versions of gcc, cmake...). What's weird is that langchain latest Docker image uses 3.11.6, so I don't see how you end up using Python 3.12. |
Yeah no idea where this comes from : |
My situation involved parallel runs of This helped for this situation with some caveats (longer build time) COMPOSE_PARALLEL_LIMIT=1 docker-compose up --build (On WSL2) Windows would need to SET COMPOSE_PARALLEL_LIMIT=1 |
66.69 running build_ext
66.69 creating /tmp/pip-install-4kvjs2nn/pyarrow_b6d841f989b243648cf4bb6db21f3654/build/temp.linux-x86_64-cpython-312
66.69 -- Running cmake for PyArrow
66.69 cmake -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-4kvjs2nn/pyarrow_b6d841f989b243648cf4bb6db21f3654/build/lib.linux-x86_64-cpython-312/pyarrow -DPYTHON_EXECUTABLE=/usr/local/bin/python -DPython3_EXECUTABLE=/usr/local/bin/python -DPYARROW_CXXFLAGS= -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 /tmp/pip-install-4kvjs2nn/pyarrow_b6d841f989b243648cf4bb6db21f3654
66.69 error: command 'cmake' failed: No such file or directory
66.69 [end of output]
66.69
66.69 note: This error originates from a subprocess, and is likely not a problem with pip.
66.69 ERROR: Failed building wheel for pyarrow
66.69 Building wheel for frozenlist (pyproject.toml): started
69.88 Building wheel for frozenlist (pyproject.toml): finished with status 'done'
69.88 Created wheel for frozenlist: filename=frozenlist-1.4.0-cp312-cp312-linux_x86_64.whl size=261458 sha256=351492d50d170ae74566490427c34161ede796c1c31004f7e72a04c5423f156b
69.88 Stored in directory: /root/.cache/pip/wheels/f1/9c/94/9386cb0ea511a93226456388d41d35f1c24ba15a62ffd7b1ef
69.89 Building wheel for multidict (pyproject.toml): started
71.10 Building wheel for multidict (pyproject.toml): finished with status 'done'
71.10 Created wheel for multidict: filename=multidict-6.0.4-cp312-cp312-linux_x86_64.whl size=114931 sha256=cc4e50dc92033fadc358a641cb86afcd0f61a8dce26a2fb664636d7508ba4e97
71.10 Stored in directory: /root/.cache/pip/wheels/f6/d8/ff/3c14a64b8f2ab1aa94ba2888f5a988be6ab446ec5c8d1a82da
71.10 Building wheel for yarl (pyproject.toml): started
73.58 Building wheel for yarl (pyproject.toml): finished with status 'done'
73.58 Created wheel for yarl: filename=yarl-1.9.2-cp312-cp312-linux_x86_64.whl size=285233 sha256=67760dba357b5b7a1f84e4291fbf1e28d87602dfcef9144aa79df2b0c54e42c0
73.58 Stored in directory: /root/.cache/pip/wheels/84/e3/6a/7d0fa1abee8e4aa39922b5bd54689b4b5e4269b2821f482a32
73.59 Successfully built wikipedia neo4j frozenlist multidict yarl
73.59 Failed to build tiktoken aiohttp pyarrow
73.59 ERROR: Could not build wheels for tiktoken, aiohttp, pyarrow, which is required to install pyproject.toml-based projects
73.60
73.60 [notice] A new release of pip is available: 23.2.1 -> 23.3.1
73.60 [notice] To update, run: pip install --upgrade pip
failed to solve: process "/bin/sh -c pip install --upgrade -r requirements.txt" did not complete successfully: exit code: 1
PS E:\Source Control\AI Apps\Docker\genai-stack2>
What now?
The text was updated successfully, but these errors were encountered: