You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BUG]: failed to solve: process "/bin/bash -c source activate base && conda install setuptools==70.0.0" did not complete successfully: exit code: 1
#182
Open
ruchaa-apte opened this issue
Oct 22, 2024
· 1 comment
Hello , I am trying to use nv-ingest for extracting PDF data (images, tables and charts). I am following the instructions in the README file for installing docker, but when I try to run the command docker compose build , I face the following issue failed to solve: process "/bin/bash -c source activate base && conda install setuptools==70.0.0" did not complete successfully: exit code: 1
Please see attached logs for more information.
[nv_ingest_install 15/17] RUN source activate base && conda install setuptools==70.0.0:
#0 0.928 /opt/conda/lib/python3.12/site-packages/conda/base/context.py:198: FutureWarning: Adding 'defaults' to channel list implicitly is deprecated and will be removed in 25.3.
#0 0.928
#0 0.928 To remove this warning, please choose a default channel explicitly with conda's regular configuration system, e.g. by adding 'defaults' to the list of channels:
#0 0.928
#0 0.928 conda config --add channels defaults
#0 0.928
#0 0.928 For more information see https://docs.conda.io/projects/conda/en/stable/user-guide/configuration/use-condarc.html
#0 0.928
#0 0.928 deprecated.topic(
#0 1.270 /opt/conda/lib/python3.12/site-packages/conda/base/context.py:198: FutureWarning: Adding 'defaults' to channel list implicitly is deprecated and will be removed in 25.3.
#0 1.270
#0 1.270 To remove this warning, please choose a default channel explicitly with conda's regular configuration system, e.g. by adding 'defaults' to the list of channels:
#0 1.270
#0 1.270 conda config --add channels defaults
#0 1.270
#0 1.270 For more information see https://docs.conda.io/projects/conda/en/stable/user-guide/configuration/use-condarc.html
#0 1.270
#0 1.270 deprecated.topic(
#0 6.289 Channels:
#0 6.289 - defaults
#0 6.289 Platform: linux-64
#0 6.289 Collecting package metadata (repodata.json): ...working... done
#0 13.78 Solving environment: ...working... failed
#0 13.94
#0 13.94 PackagesNotFoundError: The following packages are not available from current channels:
#0 13.94
#0 13.94 - setuptools==70.0.0
#0 13.94
#0 13.94 Current channels:
#0 13.94
#0 13.94 - defaults
#0 13.94
#0 13.94 To search for alternate channels that may provide the conda package you're
#0 13.94 looking for, navigate to
#0 13.94
#0 13.94 https://anaconda.org
#0 13.94
#0 13.94 and use the search bar at the top of the page.
#0 13.94
#0 13.94
failed to solve: process "/bin/bash -c source activate base && conda install setuptools==70.0.0" did not complete successfully: exit code: 1
Other/Misc.
No response
The text was updated successfully, but these errors were encountered:
Version
main branch
Which installation method(s) does this occur on?
Docker
Describe the bug.
Hello , I am trying to use nv-ingest for extracting PDF data (images, tables and charts). I am following the instructions in the README file for installing docker, but when I try to run the command
docker compose build
, I face the following issuefailed to solve: process "/bin/bash -c source activate base && conda install setuptools==70.0.0" did not complete successfully: exit code: 1
Please see attached logs for more information.
Minimum reproducible example
No response
Relevant log output
[+] Building 15.8s (31/36)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 5.27kB 0.0s
=> [internal] load metadata for nvcr.io/nvidia/cuda:12.2.2-base-ubuntu22.04 1.6s
=> [auth] nvidia/cuda:pull token for nvcr.io 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 26.82kB 0.0s
=> [base 1/11] FROM nvcr.io/nvidia/cuda:12.2.2-base-ubuntu22.04@sha256:1a8a738e81d4adbef0c709241f5238cec5bb77186dcb5b2103db293315ed42d1 0.0s
=> CACHED [base 2/11] RUN apt-get update && apt-get install -y wget bzip2 ca-certificates curl && apt-get clean 0.0s
=> CACHED [base 3/11] RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/miniconda.sh && bash /tmp/miniconda.sh -b -p /opt/conda && rm /tmp/miniconda.sh 0.0s
=> CACHED [base 4/11] RUN conda install -y mamba -n base -c conda-forge 0.0s
=> CACHED [base 5/11] RUN conda create -y --name nv_ingest python=3.10.15 0.0s
=> CACHED [base 6/11] RUN echo "source activate nv_ingest" >> ~/.bashrc 0.0s
=> CACHED [base 7/11] RUN source activate nv_ingest && mamba install -y -c conda-forge tini 0.0s
=> CACHED [base 8/11] RUN source activate nv_ingest && mamba install -y nvidia/label/dev::morpheus-core nvidia/label/dev::morpheus-llm -c rapidsai -c pytorch -c nvidia -c conda-forge 0.0s
=> CACHED [base 9/11] RUN apt-get update && apt-get install -y libgl1-mesa-glx && apt-get clean 0.0s
=> CACHED [base 10/11] WORKDIR /workspace 0.0s
=> CACHED [base 11/11] COPY ./docker/scripts/entrypoint.sh /workspace/docker/entrypoint.sh 0.0s
=> CACHED [nv_ingest_install 1/17] COPY setup.py setup.py 0.0s
=> CACHED [nv_ingest_install 2/17] COPY ci ci 0.0s
=> CACHED [nv_ingest_install 3/17] COPY requirements.txt extra-requirements.txt test-requirements.txt util-requirements.txt ./ 0.0s
=> CACHED [nv_ingest_install 4/17] RUN if [ -z "" ]; then export VERSION="$(date +'%Y.%m.%d')"; fi; if [ "dev" = "dev" ]; then export NV_INGEST_VERSION_OVERRIDE=".dev0"; elif [ "dev" = "release" ]; then export NV 0.0s
=> CACHED [nv_ingest_install 5/17] RUN source activate nv_ingest && pip install -r requirements.txt 0.0s
=> CACHED [nv_ingest_install 6/17] COPY tests tests 0.0s
=> CACHED [nv_ingest_install 7/17] COPY data data 0.0s
=> CACHED [nv_ingest_install 8/17] COPY client client 0.0s
=> CACHED [nv_ingest_install 9/17] COPY src/nv_ingest src/nv_ingest 0.0s
=> CACHED [nv_ingest_install 10/17] RUN rm -rf ./src/nv_ingest/dist ./client/dist 0.0s
=> CACHED [nv_ingest_install 11/17] RUN source activate nv_ingest && pip install -e client && pip install -r extra-requirements.txt 0.0s
=> CACHED [nv_ingest_install 12/17] RUN chmod +x ./ci/scripts/build_pip_packages.sh && ./ci/scripts/build_pip_packages.sh --type dev --lib client && ./ci/scripts/build_pip_packages.sh --type dev --lib service 0.0s
=> CACHED [nv_ingest_install 13/17] RUN source activate nv_ingest && pip install ./dist/*.whl 0.0s
=> CACHED [nv_ingest_install 14/17] RUN source activate nv_ingest && rm -rf src requirements.txt test-requirements.txt util-requirements.txt 0.0s
=> ERROR [nv_ingest_install 15/17] RUN source activate base && conda install setuptools==70.0.0 14.1s
failed to solve: process "/bin/bash -c source activate base && conda install setuptools==70.0.0" did not complete successfully: exit code: 1
Other/Misc.
No response
The text was updated successfully, but these errors were encountered: