-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
Hey, I tried clicking the binder button but there was more red text than expected.
Apparently, according to my friend Chat G., this is because the numpy version is too low for the python version.
Waiting for build to start...
Picked Git content provider.
Cloning into '/tmp/repo2dockervix9c_g8'...
HEAD is now at f0118e3 Turning on equation numbering
Python version unspecified, using current default Python version 3.10. This will change in the future.Building conda environment for python=3.10
Using PythonBuildPack builder
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 5.38kB done
#1 DONE 0.1s
#2 [internal] load metadata for docker.io/library/buildpack-deps:jammy
#2 DONE 0.4s
#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.2s
#4 [ 1/19] FROM docker.io/library/buildpack-deps:jammy@sha256:df036a189b1838a58a9d590ff339225b0fb110eefab237cf582f42807b175574
#4 resolve docker.io/library/buildpack-deps:jammy@sha256:df036a189b1838a58a9d590ff339225b0fb110eefab237cf582f42807b175574 0.1s done
#4 DONE 0.1s
#5 [internal] load build context
#5 transferring context: 58.78kB 0.0s done
#5 DONE 0.2s
#6 [14/21] COPY --chown=1000:1000 src/requirements.txt /home/jovyan/requirements.txt
#6 CACHED
#7 [10/21] RUN mkdir -p /srv/npm && chown -R jovyan:jovyan /srv/npm
#7 CACHED
#8 [ 9/21] RUN TIMEFORMAT='time: %3R' bash -c 'time /tmp/install-base-env.bash' && rm -rf /tmp/install-base-env.bash /tmp/env
#8 CACHED
#9 [ 3/19] RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
#9 CACHED
#10 [ 8/21] COPY --chown=1000:1000 build_script_files/-2fopt-2fvenv-2flib-2fpython3-2e12-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2finstall-2dbase-2denv-2ebash-637204 /tmp/install-base-env.bash
#10 CACHED
#11 [ 7/21] COPY --chown=1000:1000 build_script_files/-2fopt-2fvenv-2flib-2fpython3-2e12-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2fenvironment-2epy-2d3-2e10-2dlinux-2d64-2elock-2bb6e8 /tmp/env/environment.lock
#11 CACHED
#12 [13/21] RUN chown jovyan:jovyan /home/jovyan
#12 CACHED
#13 [ 6/21] COPY --chown=1000:1000 build_script_files/-2fopt-2fvenv-2flib-2fpython3-2e12-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2factivate-2dconda-2esh-e67d51 /etc/profile.d/activate-conda.sh
#13 CACHED
#14 [11/21] RUN if [ ! -d "/home/jovyan" ]; then /usr/bin/install -o jovyan -g jovyan -d "/home/jovyan"; fi
#14 CACHED
#15 [12/21] WORKDIR /home/jovyan
#15 CACHED
#16 [ 5/19] RUN apt-get -qq update && apt-get -qq install --yes --no-install-recommends gettext-base less unzip > /dev/null && apt-get -qq purge && apt-get -qq clean && rm -rf /var/lib/apt/lists/*
#16 CACHED
#17 [ 4/19] RUN groupadd --gid 1000 jovyan && useradd --comment "Default user" --create-home --gid 1000 --no-log-init --shell /bin/bash --uid 1000 jovyan
#17 CACHED
#18 [ 2/19] RUN apt-get -qq update && apt-get -qq install --yes --no-install-recommends locales > /dev/null && apt-get -qq purge && apt-get -qq clean && rm -rf /var/lib/apt/lists/*
#18 CACHED
#19 [15/21] RUN apt-get -qq update && apt-get install --yes --no-install-recommends libgl1-mesa-glx && apt-get -qq purge && apt-get -qq clean && rm -rf /var/lib/apt/lists/*
#19 CACHED
#20 [16/21] RUN /srv/conda/envs/notebook/bin/pip install --no-cache-dir -r "requirements.txt"
#20 0.878 Collecting cycler==0.10.0 (from -r requirements.txt (line 7))
#20 0.902 Downloading cycler-0.10.0-py2.py3-none-any.whl.metadata (722 bytes)
#20 0.974 Collecting kiwisolver==1.2.0 (from -r requirements.txt (line 8))
#20 0.982 Downloading kiwisolver-1.2.0.tar.gz (52 kB)
#20 1.000 Preparing metadata (setup.py): started
#20 1.762 Preparing metadata (setup.py): finished with status 'done'
#20 1.866 Collecting matplotlib==3.2.1 (from -r requirements.txt (line 9))
#20 1.873 Downloading matplotlib-3.2.1.tar.gz (40.3 MB)
#20 2.136 ��������������������������������������� 40.3/40.3 MB 157.7 MB/s eta 0:00:00
#20 3.526 Preparing metadata (setup.py): started
#20 5.446 Preparing metadata (setup.py): finished with status 'done'
#20 5.579 Collecting numpy==1.18.5 (from -r requirements.txt (line 10))
#20 5.586 Downloading numpy-1.18.5.zip (5.4 MB)
#20 5.621 ���������������������������������������� 5.4/5.4 MB 162.9 MB/s eta 0:00:00
#20 5.904 Installing build dependencies: started
#20 8.341 Installing build dependencies: finished with status 'done'
#20 8.343 Getting requirements to build wheel: started
#20 8.593 Getting requirements to build wheel: finished with status 'done'
#20 8.594 Preparing metadata (pyproject.toml): started
#20 8.765 Preparing metadata (pyproject.toml): finished with status 'error'
#20 8.773 error: subprocess-exited-with-error
#20 8.773
#20 8.773 × Preparing metadata (pyproject.toml) did not run successfully.
#20 8.773 │ exit code: 1
#20 8.773 ╰─> [22 lines of output]
#20 8.773 Running from numpy source directory.
#20 8.773 <string>:461: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
#20 8.773 Traceback (most recent call last):
#20 8.773 File "/srv/conda/envs/notebook/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
#20 8.773 main()
#20 8.773 File "/srv/conda/envs/notebook/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
#20 8.773 json_out["return_val"] = hook(**hook_input["kwargs"])
#20 8.773 File "/srv/conda/envs/notebook/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 175, in prepare_metadata_for_build_wheel
#20 8.773 return hook(metadata_directory, config_settings)
#20 8.773 File "/tmp/pip-build-env-qqi9nrnb/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 374, in prepare_metadata_for_build_wheel
#20 8.773 self.run_setup()
#20 8.773 File "/tmp/pip-build-env-qqi9nrnb/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 512, in run_setup
#20 8.773 super().run_setup(setup_script=setup_script)
#20 8.773 File "/tmp/pip-build-env-qqi9nrnb/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 317, in run_setup
#20 8.773 exec(code, locals())
#20 8.773 File "<string>", line 488, in <module>
#20 8.773 File "<string>", line 465, in setup_package
#20 8.773 File "/tmp/pip-install-g7b5afyt/numpy_0560fbcf329b42669f10d261ae6d5dc3/numpy/distutils/__init__.py", line 26, in <module>
#20 8.773 from . import ccompiler
#20 8.773 File "/tmp/pip-install-g7b5afyt/numpy_0560fbcf329b42669f10d261ae6d5dc3/numpy/distutils/ccompiler.py", line 111, in <module>
#20 8.773 replace_method(CCompiler, 'find_executables', CCompiler_find_executables)
#20 8.773 NameError: name 'CCompiler' is not defined. Did you mean: 'ccompiler'?
#20 8.773 [end of output]
#20 8.773
#20 8.773 note: This error originates from a subprocess, and is likely not a problem with pip.
#20 8.846 error: metadata-generation-failed
#20 8.846
#20 8.846 × Encountered error while generating package metadata.
#20 8.846 ╰─> See above for output.
#20 8.846
#20 8.846 note: This is an issue with the package mentioned above, not pip.
#20 8.846 hint: See above for details.
#20 ERROR: process "/bin/sh -c ${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir -r \"requirements.txt\"" did not complete successfully: exit code: 1
------
> [16/21] RUN /srv/conda/envs/notebook/bin/pip install --no-cache-dir -r "requirements.txt":
8.773 [end of output]
8.773
8.773 note: This error originates from a subprocess, and is likely not a problem with pip.
8.846 error: metadata-generation-failed
8.846
8.846 × Encountered error while generating package metadata.
8.846 ╰─> See above for output.
8.846
8.846 note: This is an issue with the package mentioned above, not pip.
8.846 hint: See above for details.
------
Dockerfile:124
--------------------
122 |
123 | USER ${NB_USER}
124 | >>> RUN ${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir -r "requirements.txt"
125 |
126 | # ensure root user after preassemble scripts
--------------------
ERROR: failed to solve: process "/bin/sh -c ${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir -r \"requirements.txt\"" did not complete successfully: exit code: 1
Error during build: Command '['docker', 'buildx', 'build', '--progress', 'plain', '--push', '--build-arg', 'NB_USER=jovyan', '--build-arg', 'NB_UID=1000', '--tag', 'registry.2i2c.mybinder.org/i-krishauser-2droboticsystemsbook-2dbinder-103ca8:f0118e310947ef08e8ca46318e153f3b9266109a', '--platform', 'linux/amd64', '/tmp/tmpa8oqrp1c']' returned non-zero exit status 1.
Metadata
Metadata
Assignees
Labels
No labels