widgetti / ipyvolume

3d plotting for Python in the Jupyter notebook based on IPython widgets using WebGL
MIT License
1.95k stars 236 forks source link

Binder launch fails: npm package disagreement? #374

Open drscotthawley opened 3 years ago

drscotthawley commented 3 years ago

Hi, this looks great. I'm looking around trying to find a way to get 3D scatter plots in Colab (which plotly does) with image previews when you mouseover the dots (which bokeh does in 2D), and was curious to try out ipyvolume... which of course doesn't work in Colab as noted in other issues due to ipywidget support. So I thought I'd try the Binder demo...

But when I press "Launch in Binder" it ultimately crashes. Error log below... It looks like it may just be an incompatibility in versions for a couple packages that npm is trying to install. So, not your fault! But...the result is, the "Launch in Binder" button doesn't work. Hopefully this could be fixed just by resolving the dependencies, which probably changed since last time you tried it.

Best wishes

Waiting for build to start...
Picked Git content provider.
Cloning into '/tmp/repo2dockeri0xzlcow'...
HEAD is now at fba7ceb Bugfix: accept model view instead of promise in `display_view` (#344)
Building conda environment for python=Using CondaBuildPack builder
Building conda environment for python=Building conda environment for python=Step 1/52 : FROM buildpack-deps:bionic
 ---> 3a96cf844ee2
Step 2/52 : ENV DEBIAN_FRONTEND=noninteractive
 ---> Using cache
 ---> 93b8d64d9772
Step 3/52 : 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/*
 ---> Using cache
 ---> b5a08205cb1e
Step 4/52 : RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen &&     locale-gen
 ---> Using cache
 ---> e6bc10b0f542
Step 5/52 : ENV LC_ALL en_US.UTF-8
 ---> Using cache
 ---> 970e7c6e77f3
Step 6/52 : ENV LANG en_US.UTF-8
 ---> Using cache
 ---> 24e1212952ea
Step 7/52 : ENV LANGUAGE en_US.UTF-8
 ---> Using cache
 ---> 9b175fc5fc4e
Step 8/52 : ENV SHELL /bin/bash
 ---> Using cache
 ---> ff52af0a475d
Step 9/52 : ARG NB_USER
 ---> Using cache
 ---> 0a3df4ec001d
Step 10/52 : ARG NB_UID
 ---> Using cache
 ---> d3171424e8bc
Step 11/52 : ENV USER ${NB_USER}
 ---> Using cache
 ---> e9d6db04db30
Step 12/52 : ENV HOME /home/${NB_USER}
 ---> Using cache
 ---> 96e28cdcedeb
Step 13/52 : RUN groupadd         --gid ${NB_UID}         ${NB_USER} &&     useradd         --comment "Default user"         --create-home         --gid ${NB_UID}         --no-log-init         --shell /bin/bash         --uid ${NB_UID}         ${NB_USER}
 ---> Using cache
 ---> ea5d5bdce395
Step 14/52 : RUN wget --quiet -O - https://deb.nodesource.com/gpgkey/nodesource.gpg.key |  apt-key add -&&     DISTRO="bionic" &&     echo "deb https://deb.nodesource.com/node_14.x $DISTRO main" >> /etc/apt/sources.list.d/nodesource.list &&     echo "deb-src https://deb.nodesource.com/node_14.x $DISTRO main" >> /etc/apt/sources.list.d/nodesource.list
 ---> Using cache
 ---> 2b62afe7f4af
Step 15/52 : RUN apt-get -qq update &&     apt-get -qq install --yes --no-install-recommends        less       nodejs        unzip        > /dev/null &&     apt-get -qq purge &&     apt-get -qq clean &&     rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 1145f0fcddfd
Step 16/52 : EXPOSE 8888
 ---> Using cache
 ---> eb3b136e9808
Step 17/52 : ENV APP_BASE /srv
 ---> Using cache
 ---> b404839ff9af
Step 18/52 : ENV NPM_DIR ${APP_BASE}/npm
 ---> Using cache
 ---> ea4d0a8c3806
Step 19/52 : ENV NPM_CONFIG_GLOBALCONFIG ${NPM_DIR}/npmrc
 ---> Using cache
 ---> f79b0c7f1eb9
Step 20/52 : ENV CONDA_DIR ${APP_BASE}/conda
 ---> Using cache
 ---> 6e3cfc4c986c
Step 21/52 : ENV NB_PYTHON_PREFIX ${CONDA_DIR}/envs/notebook
 ---> Using cache
 ---> 22db8a7193d1
Step 22/52 : ENV KERNEL_PYTHON_PREFIX ${NB_PYTHON_PREFIX}
 ---> Using cache
 ---> 5a1ce8e3bd16
Step 23/52 : ENV PATH ${NB_PYTHON_PREFIX}/bin:${CONDA_DIR}/bin:${NPM_DIR}/bin:${PATH}
 ---> Using cache
 ---> 2cb10928145e
Step 24/52 : COPY --chown=1000:1000 build_script_files/-2fusr-2flib-2fpython3-2e8-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2factivate-2dconda-2esh-391af5 /etc/profile.d/activate-conda.sh
 ---> Using cache
 ---> 4ae0462cee7f
Step 25/52 : COPY --chown=1000:1000 build_script_files/-2fusr-2flib-2fpython3-2e8-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2fenvironment-2efrozen-2eyml-43e5a6 /tmp/environment.yml
 ---> Using cache
 ---> 174f677bd6d6
Step 26/52 : COPY --chown=1000:1000 build_script_files/-2fusr-2flib-2fpython3-2e8-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2finstall-2dminiforge-2ebash-514214 /tmp/install-miniforge.bash
 ---> Using cache
 ---> 4184d4931bfc
Step 27/52 : RUN mkdir -p ${NPM_DIR} && chown -R ${NB_USER}:${NB_USER} ${NPM_DIR}
 ---> Using cache
 ---> 9b8009579be6
Step 28/52 : USER ${NB_USER}
 ---> Using cache
 ---> 62d433865af8
Step 29/52 : RUN npm config --global set prefix ${NPM_DIR}
 ---> Using cache
 ---> 7289b5d36681
Step 30/52 : USER root
 ---> Using cache
 ---> 95c4a3ae74bc
Step 31/52 : RUN TIMEFORMAT='time: %3R' bash -c 'time /tmp/install-miniforge.bash' && rm /tmp/install-miniforge.bash /tmp/environment.yml
 ---> Using cache
 ---> afea736799e2
Step 32/52 : ARG REPO_DIR=${HOME}
 ---> Using cache
 ---> d1bd34c31073
Step 33/52 : ENV REPO_DIR ${REPO_DIR}
 ---> Using cache
 ---> 13926ba47c21
Step 34/52 : WORKDIR ${REPO_DIR}
 ---> Using cache
 ---> b2985fbda143
Step 35/52 : RUN chown ${NB_USER}:${NB_USER} ${REPO_DIR}
 ---> Using cache
 ---> 15f31847d886
Step 36/52 : ENV PATH ${HOME}/.local/bin:${REPO_DIR}/.local/bin:${PATH}
 ---> Using cache
 ---> b759b65246af
Step 37/52 : ENV CONDA_DEFAULT_ENV ${KERNEL_PYTHON_PREFIX}
 ---> Using cache
 ---> 277f4b94bf65
Step 38/52 : COPY --chown=1000:1000 src/binder/environment.yml ${REPO_DIR}/binder/environment.yml
 ---> 946109d537dc
Step 39/52 : USER ${NB_USER}
 ---> Running in 649edc425bdd
Removing intermediate container 649edc425bdd
 ---> 4011fc0a5750
Step 40/52 : RUN TIMEFORMAT='time: %3R' bash -c 'time mamba env update -p ${NB_PYTHON_PREFIX} -f "binder/environment.yml" && time mamba clean --all -f -y && mamba list -p ${NB_PYTHON_PREFIX} '
 ---> Running in c7e85933942b
pkgs/main/noarch
pkgs/r/linux-64
pkgs/r/noarch
pkgs/main/linux-64
conda-forge/noarch
conda-forge/linux-64
Transaction

  Prefix: /srv/conda/envs/notebook

  Updating specs:

   - pip
   - nodejs

Warning: you have pip-installed dependencies in your environment file, but you do not list pip itself asone of your conda dependencies.  Conda may not use the correct pip to install your packages, and they may end up in the wrong place.  Please add an explicit pip dependency.  I'm adding one for you, but still nagging you.

Looking for: ['pip', 'nodejs']

Downloading and Extracting Packages
icu-68.1             | 13.0 MB   | ########## | 100%
nodejs-15.12.0       | 15.6 MB   | ########## | 100%
libuv-1.41.0         | 1.0 MB    | ########## | 100%
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Installing pip dependencies: ...working... Ran pip subprocess with arguments:
['/srv/conda/envs/notebook/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/jovyan/binder/condaenv.xfw3ule0.requirements.txt']
Pip subprocess output:
Collecting traittypes
  Downloading traittypes-0.2.1-py2.py3-none-any.whl (8.6 kB)
Requirement already satisfied: traitlets in /srv/conda/envs/notebook/lib/python3.7/site-packages (from -r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 2)) (5.0.5)
Requirement already satisfied: ipywidgets>=7.4 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from -r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 3)) (7.6.3)
Collecting Pillow
  Downloading Pillow-8.1.2-cp37-cp37m-manylinux1_x86_64.whl (2.2 MB)
Collecting scipy
  Downloading scipy-1.6.2-cp37-cp37m-manylinux1_x86_64.whl (27.4 MB)
Collecting numpy
  Downloading numpy-1.20.2-cp37-cp37m-manylinux2010_x86_64.whl (15.3 MB)
Collecting scikit-image>=0.13
  Downloading scikit_image-0.18.1-cp37-cp37m-manylinux1_x86_64.whl (29.2 MB)
Requirement already satisfied: requests in /srv/conda/envs/notebook/lib/python3.7/site-packages (from -r/home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 8)) (2.25.1)
Collecting ipywebrtc>=0.4
  Downloading ipywebrtc-0.5.0-py2.py3-none-any.whl (1.1 MB)
Collecting pythreejs>=1.0
  Downloading pythreejs-2.3.0-py2.py3-none-any.whl (3.4 MB)
Collecting matplotlib
  Downloading matplotlib-3.4.0-cp37-cp37m-manylinux1_x86_64.whl (10.3 MB)
Requirement already satisfied: jupyterlab>=0.34 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from -r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (3.0.7)
Collecting jupyterlab>=0.34
  Downloading jupyterlab-3.0.12-py3-none-any.whl (8.3 MB)
Requirement already satisfied: notebook>=5.3 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from -r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (6.2.0)
Collecting notebook>=5.3
  Downloading notebook-6.3.0-py3-none-any.whl (9.5 MB)
Requirement already satisfied: nbformat>=4.2.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from ipywidgets>=7.4->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 3)) (5.1.2)
Requirement already satisfied: jupyterlab-widgets>=1.0.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from ipywidgets>=7.4->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 3)) (1.0.0)
Requirement already satisfied: widgetsnbextension~=3.5.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from ipywidgets>=7.4->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 3)) (3.5.1)
Requirement already satisfied: ipykernel>=4.5.1 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from ipywidgets>=7.4->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 3)) (5.5.0)
Requirement already satisfied: ipython>=4.0.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from ipywidgets>=7.4->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 3)) (7.20.0)
Requirement already satisfied: tornado>=6.1.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (6.1)
Requirement already satisfied: packaging in /srv/conda/envs/notebook/lib/python3.7/site-packages (from jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (20.9)
Requirement already satisfied: jupyter-server~=1.4 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (1.4.0)
Requirement already satisfied: jupyterlab-server~=2.3 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (2.3.0)
Collecting jupyter-packaging~=0.7.3
  Downloading jupyter_packaging-0.7.12-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: jinja2>=2.10 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (2.11.3)
Requirement already satisfied: nbclassic~=0.2 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (0.2.6)
Requirement already satisfied: jupyter-core in /srv/conda/envs/notebook/lib/python3.7/site-packages (from jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (4.7.1)
Requirement already satisfied: nbconvert in /srv/conda/envs/notebook/lib/python3.7/site-packages (from notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (6.0.7)
Requirement already satisfied: prometheus-client in /srv/conda/envs/notebook/lib/python3.7/site-packages(from notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (0.9.0)
Requirement already satisfied: ipython-genutils in /srv/conda/envs/notebook/lib/python3.7/site-packages (from notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (0.2.0)
Requirement already satisfied: terminado>=0.8.3 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (0.9.2)
Requirement already satisfied: jupyter-client>=5.3.4 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (6.1.11)
Requirement already satisfied: Send2Trash>=1.5.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages(from notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (1.5.0)
Requirement already satisfied: pyzmq>=17 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (22.0.3)
Requirement already satisfied: argon2-cffi in /srv/conda/envs/notebook/lib/python3.7/site-packages (fromnotebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (20.1.0)
Collecting ipydatawidgets>=1.1.1
  Downloading ipydatawidgets-4.2.0-py2.py3-none-any.whl (275 kB)
Collecting tifffile>=2019.7.26
  Downloading tifffile-2021.3.17-py3-none-any.whl (163 kB)
Collecting imageio>=2.3.0
  Downloading imageio-2.9.0-py3-none-any.whl (3.3 MB)
Collecting PyWavelets>=1.1.1
  Downloading PyWavelets-1.1.1-cp37-cp37m-manylinux1_x86_64.whl (4.4 MB)
Collecting networkx>=2.0
  Downloading networkx-2.5-py3-none-any.whl (1.6 MB)
Collecting kiwisolver>=1.0.1
  Downloading kiwisolver-1.3.1-cp37-cp37m-manylinux1_x86_64.whl (1.1 MB)
Requirement already satisfied: python-dateutil>=2.7 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from matplotlib->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 11)) (2.8.1)
Collecting cycler>=0.10
  Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Requirement already satisfied: pyparsing>=2.2.1 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from matplotlib->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 11)) (2.4.7)
Requirement already satisfied: six in /srv/conda/envs/notebook/lib/python3.7/site-packages (from cycler>=0.10->matplotlib->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 11)) (1.15.0)
Requirement already satisfied: pickleshare in /srv/conda/envs/notebook/lib/python3.7/site-packages (fromipython>=4.0.0->ipywidgets>=7.4->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 3)) (0.7.5)
Requirement already satisfied: pygments in /srv/conda/envs/notebook/lib/python3.7/site-packages (from ipython>=4.0.0->ipywidgets>=7.4->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 3)) (2.8.0)
Requirement already satisfied: pexpect>4.3 in /srv/conda/envs/notebook/lib/python3.7/site-packages (fromipython>=4.0.0->ipywidgets>=7.4->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 3)) (4.8.0)
Requirement already satisfied: backcall in /srv/conda/envs/notebook/lib/python3.7/site-packages (from ipython>=4.0.0->ipywidgets>=7.4->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 3)) (0.2.0)
Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from ipython>=4.0.0->ipywidgets>=7.4->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 3)) (3.0.16)
Requirement already satisfied: decorator in /srv/conda/envs/notebook/lib/python3.7/site-packages (from ipython>=4.0.0->ipywidgets>=7.4->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 3)) (4.4.2)
Requirement already satisfied: setuptools>=18.5 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from ipython>=4.0.0->ipywidgets>=7.4->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 3)) (49.6.0.post20210108)
Requirement already satisfied: jedi>=0.16 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from ipython>=4.0.0->ipywidgets>=7.4->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 3)) (0.18.0)
Requirement already satisfied: parso<0.9.0,>=0.8.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from jedi>=0.16->ipython>=4.0.0->ipywidgets>=7.4->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 3)) (0.8.1)
Requirement already satisfied: MarkupSafe>=0.23 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from jinja2>=2.10->jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (1.1.1)
Requirement already satisfied: anyio>=2.0.2 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from jupyter-server~=1.4->jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (2.1.0)
Requirement already satisfied: idna>=2.8 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from anyio>=2.0.2->jupyter-server~=1.4->jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (2.10)
Requirement already satisfied: typing-extensions in /srv/conda/envs/notebook/lib/python3.7/site-packages(from anyio>=2.0.2->jupyter-server~=1.4->jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (3.7.4.3)
Requirement already satisfied: sniffio>=1.1 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from anyio>=2.0.2->jupyter-server~=1.4->jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (1.2.0)
Requirement already satisfied: json5 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from jupyterlab-server~=2.3->jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12))(0.9.5)
Requirement already satisfied: jsonschema>=3.0.1 in /srv/conda/envs/notebook/lib/python3.7/site-packages(from jupyterlab-server~=2.3->jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (3.2.0)
Requirement already satisfied: babel in /srv/conda/envs/notebook/lib/python3.7/site-packages (from jupyterlab-server~=2.3->jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12))(2.9.0)
Requirement already satisfied: importlib-metadata in /srv/conda/envs/notebook/lib/python3.7/site-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.3->jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (3.4.0)
Requirement already satisfied: pyrsistent>=0.14.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.3->jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (0.17.3)
Requirement already satisfied: attrs>=17.4.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.3->jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (20.3.0)
Requirement already satisfied: ptyprocess>=0.5 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from pexpect>4.3->ipython>=4.0.0->ipywidgets>=7.4->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 3)) (0.7.0)
Requirement already satisfied: wcwidth in /srv/conda/envs/notebook/lib/python3.7/site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython>=4.0.0->ipywidgets>=7.4->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 3)) (0.2.5)
Requirement already satisfied: certifi>=2017.4.17 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from requests->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 8)) (2020.12.5)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from requests->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 8)) (1.26.3)
Requirement already satisfied: chardet<5,>=3.0.2 in /srv/conda/envs/notebook/lib/python3.7/site-packages(from requests->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 8)) (4.0.0)
Requirement already satisfied: cffi>=1.0.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (fromargon2-cffi->notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (1.14.5)
Requirement already satisfied: pycparser in /srv/conda/envs/notebook/lib/python3.7/site-packages (from cffi>=1.0.0->argon2-cffi->notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (2.20)
Requirement already satisfied: pytz>=2015.7 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from babel->jupyterlab-server~=2.3->jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (2021.1)
Requirement already satisfied: zipp>=0.5 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from importlib-metadata->jsonschema>=3.0.1->jupyterlab-server~=2.3->jupyterlab>=0.34->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 12)) (3.4.0)
Requirement already satisfied: testpath in /srv/conda/envs/notebook/lib/python3.7/site-packages (from nbconvert->notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (0.4.4)
Requirement already satisfied: bleach in /srv/conda/envs/notebook/lib/python3.7/site-packages (from nbconvert->notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (3.3.0)
Requirement already satisfied: defusedxml in /srv/conda/envs/notebook/lib/python3.7/site-packages (from nbconvert->notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (0.6.0)
Requirement already satisfied: nbclient<0.6.0,>=0.5.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from nbconvert->notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (0.5.2)
Requirement already satisfied: mistune<2,>=0.8.1 in /srv/conda/envs/notebook/lib/python3.7/site-packages(from nbconvert->notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (0.8.4)
Requirement already satisfied: jupyterlab-pygments in /srv/conda/envs/notebook/lib/python3.7/site-packages (from nbconvert->notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (0.1.2)
Requirement already satisfied: pandocfilters>=1.4.1 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from nbconvert->notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (1.4.2)
Requirement already satisfied: entrypoints>=0.2.2 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from nbconvert->notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (0.3)
Requirement already satisfied: nest-asyncio in /srv/conda/envs/notebook/lib/python3.7/site-packages (from nbclient<0.6.0,>=0.5.0->nbconvert->notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (1.4.3)
Requirement already satisfied: async-generator in /srv/conda/envs/notebook/lib/python3.7/site-packages (from nbclient<0.6.0,>=0.5.0->nbconvert->notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (1.10)
Requirement already satisfied: webencodings in /srv/conda/envs/notebook/lib/python3.7/site-packages (from bleach->nbconvert->notebook>=5.3->-r /home/jovyan/binder/condaenv.xfw3ule0.requirements.txt (line 13)) (0.5.1)
Installing collected packages: notebook, traittypes, Pillow, numpy, kiwisolver, cycler, tifffile, scipy,PyWavelets, networkx, matplotlib, jupyter-packaging, ipydatawidgets, imageio, scikit-image, pythreejs, jupyterlab, ipywebrtc
  Attempting uninstall: notebook
    Found existing installation: notebook 6.2.0
    Uninstalling notebook-6.2.0:
      Successfully uninstalled notebook-6.2.0
  Attempting uninstall: jupyterlab
    Found existing installation: jupyterlab 3.0.7
    Uninstalling jupyterlab-3.0.7:
      Successfully uninstalled jupyterlab-3.0.7
Successfully installed Pillow-8.1.2 PyWavelets-1.1.1 cycler-0.10.0 imageio-2.9.0 ipydatawidgets-4.2.0 ipywebrtc-0.5.0 jupyter-packaging-0.7.12 jupyterlab-3.0.12 kiwisolver-1.3.1 matplotlib-3.4.0 networkx-2.5 notebook-6.3.0 numpy-1.20.2 pythreejs-2.3.0 scikit-image-0.18.1 scipy-1.6.2 tifffile-2021.3.17 traittypes-0.2.1

done
#
# To activate this environment, use
#
#     $ conda activate /srv/conda/envs/notebook
#
# To deactivate an active environment, use
#
#     $ conda deactivate

  Package  Version  Build       Channel                   Size
────────────────────────────────────────────────────────────────
  Install:
────────────────────────────────────────────────────────────────

  icu         68.1  h58526e2_0  conda-forge/linux-64     13 MB
  libuv     1.41.0  h7f98852_0  conda-forge/linux-64      1 MB
  nodejs   15.12.0  h92b4a50_0  conda-forge/linux-64     16 MB

  Summary:

  Install: 3 packages

  Total download: 30 MB

────────────────────────────────────────────────────────────────

time: 35.742

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (0.7.4) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

█████████████████████████████████████████████████████████████

Remove all contents from the following package caches?
  - /srv/conda/pkgs
time: 0.294

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (0.7.4) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

█████████████████████████████████████████████████████████████

# packages in environment at /srv/conda/envs/notebook:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
alembic                   1.5.5              pyhd8ed1ab_0    conda-forge
anyio                     2.1.0            py37h89c1867_0    conda-forge
argon2-cffi               20.1.0           py37h8f50634_2    conda-forge
async_generator           1.10                       py_0    conda-forge
attrs                     20.3.0             pyhd3deb0d_0    conda-forge
babel                     2.9.0              pyhd3deb0d_0    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.functools_lru_cache 1.6.1                      py_0    conda-forge
bleach                    3.3.0              pyh44b312d_0    conda-forge
blinker                   1.4                        py_1    conda-forge
brotlipy                  0.7.0           py37hb5d75c8_1001    conda-forge
c-ares                    1.17.1               h36c2ea0_0    conda-forge
ca-certificates           2020.12.5            ha878542_0    conda-forge
certifi                   2020.12.5        py37h89c1867_1    conda-forge
certipy                   0.1.3                      py_0    conda-forge
cffi                      1.14.5           py37hc58025e_0    conda-forge
chardet                   4.0.0            py37h89c1867_1    conda-forge
cryptography              3.4.4            py37hf1a17b8_0    conda-forge
cycler                    0.10.0                   pypi_0    pypi
decorator                 4.4.2                      py_0    conda-forge
defusedxml                0.6.0                      py_0    conda-forge
entrypoints               0.3             py37hc8dfbb8_1002    conda-forge
icu                       68.1                 h58526e2_0    conda-forge
idna                      2.10               pyh9f0ad1d_0    conda-forge
imageio                   2.9.0                    pypi_0    pypi
importlib-metadata        3.4.0            py37h89c1867_0    conda-forge
importlib_metadata        3.4.0                hd8ed1ab_0    conda-forge
ipydatawidgets            4.2.0                    pypi_0    pypi
ipykernel                 5.5.0            py37h888b3d9_1    conda-forge
ipython                   7.20.0           py37h888b3d9_2    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywebrtc                 0.5.0                    pypi_0    pypi
ipywidgets                7.6.3              pyhd3deb0d_0    conda-forge
jedi                      0.18.0           py37h89c1867_2    conda-forge
jinja2                    2.11.3             pyh44b312d_0    conda-forge
json5                     0.9.5              pyh9f0ad1d_0    conda-forge
jsonschema                3.2.0            py37hc8dfbb8_1    conda-forge
jupyter-offlinenotebook   0.2.1              pyhd8ed1ab_0    conda-forge
jupyter-packaging         0.7.12                   pypi_0    pypi
jupyter-resource-usage    0.5.1              pyhd8ed1ab_0    conda-forge
jupyter_client            6.1.11             pyhd8ed1ab_1    conda-forge
jupyter_core              4.7.1            py37h89c1867_0    conda-forge
jupyter_server            1.4.0            py37h89c1867_0    conda-forge
jupyter_telemetry         0.1.0              pyhd8ed1ab_1    conda-forge
jupyterhub-base           1.3.0            py37h89c1867_0    conda-forge
jupyterhub-singleuser     1.3.0            py37h89c1867_0    conda-forge
jupyterlab                3.0.12                   pypi_0    pypi
jupyterlab_pygments       0.1.2              pyh9f0ad1d_0    conda-forge
jupyterlab_server         2.3.0              pyhd8ed1ab_0    conda-forge
jupyterlab_widgets        1.0.0              pyhd8ed1ab_1    conda-forge
kiwisolver                1.3.1                    pypi_0    pypi
krb5                      1.17.2               h926e7f8_0    conda-forge
ld_impl_linux-64          2.35.1               hea4e1c9_2    conda-forge
libcurl                   7.71.1               hcdd3856_8    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libffi                    3.3                  h58526e2_2    conda-forge
libgcc-ng                 9.3.0               h2828fa1_18    conda-forge
libgomp                   9.3.0               h2828fa1_18    conda-forge
libnghttp2                1.43.0               h812cca2_0    conda-forge
libsodium                 1.0.18               h516909a_1    conda-forge
libssh2                   1.9.0                hab1572f_5    conda-forge
libstdcxx-ng              9.3.0               h6de172a_18    conda-forge
libuv                     1.41.0               h7f98852_0    conda-forge
mako                      1.1.4              pyh44b312d_0    conda-forge
markupsafe                1.1.1            py37h5e8e339_3    conda-forge
matplotlib                3.4.0                    pypi_0    pypi
mistune                   0.8.4           py37h5e8e339_1003    conda-forge
nbclassic                 0.2.6              pyhd8ed1ab_0    conda-forge
nbclient                  0.5.2              pyhd8ed1ab_0    conda-forge
nbconvert                 6.0.7            py37h89c1867_3    conda-forge
nbformat                  5.1.2              pyhd8ed1ab_1    conda-forge
ncurses                   6.2                  h58526e2_4    conda-forge
nest-asyncio              1.4.3              pyhd8ed1ab_0    conda-forge
networkx                  2.5                      pypi_0    pypi
nodejs                    15.12.0              h92b4a50_0    conda-forge
notebook                  6.3.0                    pypi_0    pypi
nteract_on_jupyter        2.1.3                      py_0    conda-forge
numpy                     1.20.2                   pypi_0    pypi
oauthlib                  3.0.1                      py_0    conda-forge
openssl                   1.1.1j               h7f98852_0    conda-forge
packaging                 20.9               pyh44b312d_0    conda-forge
pamela                    1.0.0                      py_0    conda-forge
pandoc                    2.11.4               h7f98852_0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
parso                     0.8.1              pyhd8ed1ab_0    conda-forge
pexpect                   4.8.0            py37hc8dfbb8_1    conda-forge
pickleshare               0.7.5           py37hc8dfbb8_1002    conda-forge
pillow                    8.1.2                    pypi_0    pypi
pip                       21.0.1             pyhd8ed1ab_0    conda-forge
prometheus_client         0.9.0              pyhd3deb0d_0    conda-forge
prompt-toolkit            3.0.16             pyha770c72_0    conda-forge
psutil                    5.8.0            py37h5e8e339_1    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pycurl                    7.43.0.6         py37h88a64d2_1    conda-forge
pygments                  2.8.0              pyhd8ed1ab_0    conda-forge
pyjwt                     2.0.1              pyhd8ed1ab_0    conda-forge
pyopenssl                 20.0.1             pyhd8ed1ab_0    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyrsistent                0.17.3           py37h5e8e339_2    conda-forge
pysocks                   1.7.1            py37h89c1867_3    conda-forge
python                    3.7.10          hffdb5ce_100_cpython    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python-editor             1.0.4                      py_0    conda-forge
python-json-logger        2.0.1              pyh9f0ad1d_0    conda-forge
python_abi                3.7                     1_cp37m    conda-forge
pythreejs                 2.3.0                    pypi_0    pypi
pytz                      2021.1             pyhd8ed1ab_0    conda-forge
pywavelets                1.1.1                    pypi_0    pypi
pyzmq                     22.0.3           py37h499b945_0    conda-forge
readline                  8.0                  he28a2e2_2    conda-forge
requests                  2.25.1             pyhd3deb0d_0    conda-forge
ruamel.yaml               0.16.12          py37h5e8e339_2    conda-forge
ruamel.yaml.clib          0.2.2            py37h5e8e339_2    conda-forge
scikit-image              0.18.1                   pypi_0    pypi
scipy                     1.6.2                    pypi_0    pypi
send2trash                1.5.0                      py_0    conda-forge
setuptools                49.6.0           py37h89c1867_3    conda-forge
six                       1.15.0             pyh9f0ad1d_0    conda-forge
sniffio                   1.2.0            py37h89c1867_1    conda-forge
sqlalchemy                1.3.23           py37h5e8e339_0    conda-forge
sqlite                    3.34.0               h74cdb3f_0    conda-forge
terminado                 0.9.2            py37h89c1867_0    conda-forge
testpath                  0.4.4                      py_0    conda-forge
tifffile                  2021.3.17                pypi_0    pypi
tk                        8.6.10               hed695b0_1    conda-forge
tornado                   6.1              py37h5e8e339_1    conda-forge
traitlets                 5.0.5                      py_0    conda-forge
traittypes                0.2.1                    pypi_0    pypi
typing_extensions         3.7.4.3                    py_0    conda-forge
urllib3                   1.26.3             pyhd8ed1ab_0    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.36.2             pyhd3deb0d_0    conda-forge
widgetsnbextension        3.5.1            py37hc8dfbb8_4    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
zeromq                    4.3.4                h9c3ff4c_0    conda-forge
zipp                      3.4.0                      py_0    conda-forge
zlib                      1.2.11            h516909a_1010    conda-forge
Removing intermediate container c7e85933942b
 ---> fa80290d3f6b
Step 41/52 : COPY --chown=1000:1000 src/ ${REPO_DIR}
 ---> ef1cca66a52a
Step 42/52 : LABEL repo2docker.ref="fba7ceb4b0abe7d1879a71e3ad24eddb08bcfa4c"
 ---> Running in 7ed893c24066
Removing intermediate container 7ed893c24066
 ---> 2825b1e055bf
Step 43/52 : LABEL repo2docker.repo="https://github.com/maartenbreddels/ipyvolume"
 ---> Running in ed730e567b4e
Removing intermediate container ed730e567b4e
 ---> 674463208c54
Step 44/52 : LABEL repo2docker.version="2021.03.0+7.ga5f5bbb"
 ---> Running in 69a9f1ecc98d
Removing intermediate container 69a9f1ecc98d
 ---> 49ccc09254da
Step 45/52 : USER ${NB_USER}
 ---> Running in fda7037acbbd
Removing intermediate container fda7037acbbd
 ---> 4b0b3f7ebe45
Step 46/52 : RUN chmod +x binder/postBuild
 ---> Running in 9e7eed397635
Removing intermediate container 9e7eed397635
 ---> 574aa491deee
Step 47/52 : RUN ./binder/postBuild
 ---> Running in 688749862f68
+ pip install .
Processing /home/jovyan
    ERROR: Command errored out with exit status 1:
     command: /srv/conda/envs/notebook/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] ='"'"'/tmp/pip-req-build-6oe9wt29/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-6oe9wt29/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-340uqriz
         cwd: /tmp/pip-req-build-6oe9wt29/
    Complete output (60 lines):
    setup.py entered
    $PATH=/home/jovyan/.local/bin:/home/jovyan/.local/bin:/srv/conda/envs/notebook/bin:/srv/conda/bin:/srv/npm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    running egg_info
    running jsdeps
    7.6.3
    7.6.3
    Installing build dependencies with npm.  This may take a while...
    npm notice
    npm notice New minor version of npm available! 7.6.3 -> 7.7.5
    npm notice Changelog: <https://github.com/npm/cli/releases/tag/v7.7.5>
    npm notice Run `npm install -g npm@7.7.5` to update!
    npm notice
    npm ERR! code ERESOLVE
    npm ERR! ERESOLVE unable to resolve dependency tree
    npm ERR!
    npm ERR! While resolving: ipyvolume@0.6.0-alpha.4
    npm ERR! Found: webpack@4.46.0
    npm ERR! node_modules/webpack
    npm ERR!   dev webpack@"^4.29.1" from the root project
    npm ERR!
    npm ERR! Could not resolve dependency:
    npm ERR! peer webpack@"^2.0.0 || ^3.0.0" from karma-webpack@3.0.5
    npm ERR! node_modules/karma-webpack
    npm ERR!   dev karma-webpack@"^3.0.5" from the root project
    npm ERR!
    npm ERR! Fix the upstream dependency conflict, or retry
    npm ERR! this command with --force, or --legacy-peer-deps
    npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
    npm ERR!
    npm ERR! See /home/jovyan/.npm/eresolve-report.txt for a full report.

    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/jovyan/.npm/_logs/2021-03-27T23_34_14_375Z-debug.log
    /srv/conda/envs/notebook/lib/python3.7/site-packages/setuptools/dist.py:458: UserWarning: Normalizing '0.6.0-alpha.5' to '0.6.0a5'
      warnings.warn(tmpl.format(**locals()))
    rebuilding js and css failed
    missing files: ['/tmp/pip-req-build-6oe9wt29/ipyvolume/static/extension.js', '/tmp/pip-req-build-6oe9wt29/ipyvolume/static/index.js', '/tmp/pip-req-build-6oe9wt29/ipyvolume/static/three.js']
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-req-build-6oe9wt29/setup.py", line 199, in <module>
        setup(**setup_args)
      File "/srv/conda/envs/notebook/lib/python3.7/site-packages/setuptools/__init__.py", line 163, in setup
        return distutils.core.setup(**attrs)
      File "/srv/conda/envs/notebook/lib/python3.7/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/srv/conda/envs/notebook/lib/python3.7/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/srv/conda/envs/notebook/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-req-build-6oe9wt29/setup.py", line 67, in run
        raise e
      File "/tmp/pip-req-build-6oe9wt29/setup.py", line 60, in run
        self.distribution.run_command('jsdeps')
      File "/srv/conda/envs/notebook/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-req-build-6oe9wt29/setup.py", line 135, in run
        check_call([npmName, 'install'], cwd=node_root, stdout=sys.stdout, stderr=sys.stderr)
      File "/srv/conda/envs/notebook/lib/python3.7/subprocess.py", line 363, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['npm', 'install']' returned non-zero exit status 1.
    ----------------------------------------
WARNING: Discarding file:///home/jovyan. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Removing intermediate container 688749862f68
The command '/bin/sh -c ./binder/postBuild' returned a non-zero code: 1
sandertyu commented 3 years ago

fyi the binder build still fails with jupyterlab=3 @maartenbreddels ;

Building wheels for collected packages: ipyvolume
  Building wheel for ipyvolume (PEP 517): started
  Building wheel for ipyvolume (PEP 517): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /srv/conda/envs/notebook/bin/python3.7 /srv/conda/envs/notebook/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmprfuhwe34
       cwd: /tmp/pip-req-build-mt1bm8er
  Complete output (72 lines):
  running bdist_wheel
  running jsdeps
  Installing build dependencies with npm.  This may take a while...
  > npm install
  npm notice
  npm notice New minor version of npm available! 7.7.6 -> 7.9.0
  npm notice Changelog: <https://github.com/npm/cli/releases/tag/v7.9.0>
  npm notice Run `npm install -g npm@7.9.0` to update!
  npm notice
  npm ERR! code ERESOLVE
  npm ERR! ERESOLVE unable to resolve dependency tree
  npm ERR!
  npm ERR! While resolving: ipyvolume@0.6.0-alpha.8
  npm ERR! Found: webpack@4.46.0
  npm ERR! node_modules/webpack
  npm ERR!   dev webpack@"^4.29.1" from the root project
  npm ERR!
  npm ERR! Could not resolve dependency:
  npm ERR! peer webpack@"^2.0.0 || ^3.0.0" from karma-webpack@3.0.5
  npm ERR! node_modules/karma-webpack
  npm ERR!   dev karma-webpack@"^3.0.5" from the root project
  npm ERR!
  npm ERR! Fix the upstream dependency conflict, or retry
  npm ERR! this command with --force, or --legacy-peer-deps
  npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
  npm ERR!
  npm ERR! See /home/jovyan/.npm/eresolve-report.txt for a full report.

  npm ERR! A complete log of this run can be found in:
  npm ERR!     /home/jovyan/.npm/_logs/2021-04-14T00_42_56_393Z-debug.log
  /tmp/pip-build-env-eh53oopg/overlay/lib/python3.7/site-packages/setuptools/dist.py:463: UserWarning: Normalizing '0.6.0-alpha.8' to '0.6.0a8'
    warnings.warn(tmpl.format(**locals()))
  Traceback (most recent call last):
    File "/srv/conda/envs/notebook/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
      main()
    File "/srv/conda/envs/notebook/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/srv/conda/envs/notebook/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 205, in build_wheel
      metadata_directory)
    File "/tmp/pip-build-env-eh53oopg/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 222, in build_wheel
      wheel_directory, config_settings)
    File "/tmp/pip-build-env-eh53oopg/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 207, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-eh53oopg/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 150, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 112, in <module>
      'Programming Language :: Python :: 3.8',
    File "/tmp/pip-build-env-eh53oopg/overlay/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "/srv/conda/envs/notebook/lib/python3.7/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/srv/conda/envs/notebook/lib/python3.7/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/srv/conda/envs/notebook/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-eh53oopg/overlay/lib/python3.7/site-packages/jupyter_packaging/setupbase.py", line 503, in run
      [self.run_command(cmd) for cmd in cmds]
    File "/tmp/pip-build-env-eh53oopg/overlay/lib/python3.7/site-packages/jupyter_packaging/setupbase.py", line 503, in <listcomp>
      [self.run_command(cmd) for cmd in cmds]
    File "/srv/conda/envs/notebook/lib/python3.7/distutils/cmd.py", line 313, inrun_command
      self.distribution.run_command(command)
    File "/srv/conda/envs/notebook/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-eh53oopg/overlay/lib/python3.7/site-packages/jupyter_packaging/setupbase.py", line 274, in run
      c.run()
    File "/tmp/pip-build-env-eh53oopg/overlay/lib/python3.7/site-packages/jupyter_packaging/setupbase.py", line 379, in run
      run(npm_cmd + ['install'], cwd=node_package)
    File "/tmp/pip-build-env-eh53oopg/overlay/lib/python3.7/site-packages/jupyter_packaging/setupbase.py", line 225, in run
      return subprocess.check_call(cmd, **kwargs)
    File "/srv/conda/envs/notebook/lib/python3.7/subprocess.py", line 363, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['/srv/conda/envs/notebook/bin/npm', 'install']' returned non-zero exit status 1.
  ----------------------------------------
  ERROR: Failed building wheel for ipyvolume
ERROR: Could not build wheels for ipyvolume which use PEP 517 and cannot be installed directly
Failed to build ipyvolume
Removing intermediate container fda321414a0c
The command '/bin/sh -c ./binder/postBuild' returned a non-zero code: 1

Installing ipyvolume with conda install -c conda-forge ipyvolume also does not accurately load the NPM package;

extension

I'm curious if this may be because the latest version on conda is v0.6.0a6 but npm does not contain 0.6.0.0-alpha.6