Skip to content
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

Binder conda installs broken? #4256

Closed
cdeil opened this issue Jan 6, 2023 · 3 comments
Closed

Binder conda installs broken? #4256

cdeil opened this issue Jan 6, 2023 · 3 comments

Comments

@cdeil
Copy link
Contributor

cdeil commented Jan 6, 2023

I tried to launch a Binder using the link at https://github.com/holoviz/panel/blob/main/README.md which is this one:
https://mybinder.org/v2/gh/holoviz/panel/v0.14.1?urlpath=lab/tree/examples

It errors like this:

Step 42/55 : RUN ${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir -r "binder/requirements.txt"
 ---> Running in 8442f1cd67b1
Obtaining file:///home/jovyan (from -r binder/requirements.txt (line 1))
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  WARNING: Missing build requirements in pyproject.toml for file:///home/jovyan (from -r binder/requirements.txt (line 1)).
  WARNING: The project does not specify a build backend, and pip cannot fall back to setuptools without 'wheel'.
  Checking if build backend supports build_editable: started
  Checking if build backend supports build_editable: finished with status 'done'
  Getting requirements to build editable: started
  Getting requirements to build editable: finished with status 'done'
  Installing backend dependencies: started
  Installing backend dependencies: finished with status 'done'
  Preparing editable metadata (pyproject.toml): started
  Preparing editable metadata (pyproject.toml): finished with status 'done'
Obtaining file:///home/jovyan/binder/jupyter-panel-apps-server (from -r binder/requirements.txt (line 2))
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Obtaining file:///home/jovyan/binder/jupyter-voila-docs-server (from -r binder/requirements.txt (line 3))
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting pydeck
  Downloading pydeck-0.8.0-py2.py3-none-any.whl (4.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.7/4.7 MB 24.4 MB/s eta 0:00:00
Collecting pyecharts
  Downloading pyecharts-2.0.0-py3-none-any.whl (146 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 146.0/146.0 kB 168.9 MB/s eta 0:00:00
Collecting idom
  Downloading idom-0.42.0-py2.py3-none-any.whl (89 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.3/89.3 kB 69.9 MB/s eta 0:00:00
Collecting xlsxwriter
  Downloading XlsxWriter-3.0.6-py3-none-any.whl (152 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 152.4/152.4 kB 155.5 MB/s eta 0:00:00
Collecting pyarrow
  Downloading pyarrow-10.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (36.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 36.0/36.0 MB 110.3 MB/s eta 0:00:00
Collecting jupyter_bokeh
  Downloading jupyter_bokeh-3.0.5.tar.gz (779 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 779.7/779.7 kB 162.2 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting jupyter-vscode-proxy
  Downloading jupyter_vscode_proxy-0.2-py3-none-any.whl (4.6 kB)
Collecting tqdm
  Downloading tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.5/78.5 kB 147.5 MB/s eta 0:00:00
Requirement already satisfied: bleach in /srv/conda/envs/notebook/lib/python3.7/site-packages (from -r binder/requirements.txt (line 12)) (5.0.1)
Requirement already satisfied: setuptools in /srv/conda/envs/notebook/lib/python3.7/site-packages (from panel==0.14.1->-r binder/requirements.txt (line 1)) (65.6.3)
Collecting bokeh<2.5.0,>=2.4.0
  Downloading bokeh-2.4.3-py3-none-any.whl (18.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.5/18.5 MB 54.0 MB/s eta 0:00:00
Collecting pyviz-comms>=0.7.4
  Downloading pyviz_comms-2.2.1-py2.py3-none-any.whl (42 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.9/42.9 kB 65.9 MB/s eta 0:00:00
Collecting pyct>=0.4.4
  Downloading pyct-0.4.8-py2.py3-none-any.whl (15 kB)
Requirement already satisfied: typing-extensions in /srv/conda/envs/notebook/lib/python3.7/site-packages (from panel==0.14.1->-r binder/requirements.txt (line 1)) (4.4.0)
Requirement already satisfied: requests in /srv/conda/envs/notebook/lib/python3.7/site-packages (from panel==0.14.1->-r binder/requirements.txt (line 1)) (2.28.1)
Collecting markdown
  Downloading Markdown-3.4.1-py3-none-any.whl (93 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.3/93.3 kB 8.4 MB/s eta 0:00:00
Collecting param>=1.12.0
  Downloading param-1.12.3-py2.py3-none-any.whl (87 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.0/87.0 kB 78.4 MB/s eta 0:00:00
Collecting seaborn
  Downloading seaborn-0.12.2-py3-none-any.whl (293 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 293.3/293.3 kB 38.9 MB/s eta 0:00:00
Collecting aiohttp
  Downloading aiohttp-3.8.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (948 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 948.0/948.0 kB 94.7 MB/s eta 0:00:00
Requirement already satisfied: ipywidgets in /srv/conda/envs/notebook/lib/python3.7/site-packages (from panel==0.14.1->-r binder/requirements.txt (line 1)) (8.0.2)
Collecting folium
  Downloading folium-0.14.0-py2.py3-none-any.whl (102 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 102.3/102.3 kB 141.7 MB/s eta 0:00:00
Collecting ipympl
  Downloading ipympl-0.9.2-py2.py3-none-any.whl (510 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 510.3/510.3 kB 53.5 MB/s eta 0:00:00
Collecting django<4
  Downloading Django-3.2.16-py3-none-any.whl (7.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.9/7.9 MB 33.7 MB/s eta 0:00:00
Collecting pyinstrument>=4.0
  Downloading pyinstrument-4.4.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (119 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 119.7/119.7 kB 47.5 MB/s eta 0:00:00
Collecting ipywidgets-bokeh
  Downloading ipywidgets_bokeh-1.3.0.tar.gz (977 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 977.7/977.7 kB 9.0 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting vega-datasets
  Downloading vega_datasets-0.9.0-py3-none-any.whl (210 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 210.8/210.8 kB 22.2 MB/s eta 0:00:00
Collecting lxml
  Downloading lxml-4.9.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.6/6.6 MB 66.8 MB/s eta 0:00:00
Collecting graphviz
  Downloading graphviz-0.20.1-py3-none-any.whl (47 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.0/47.0 kB 116.8 MB/s eta 0:00:00
Collecting pyvista<0.33
  Downloading pyvista-0.32.1-py3-none-any.whl (1.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.4/1.4 MB 25.8 MB/s eta 0:00:00
Collecting altair
  Downloading altair-4.2.0-py3-none-any.whl (812 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 812.8/812.8 kB 60.8 MB/s eta 0:00:00
Collecting channels
  Downloading channels-4.0.0-py3-none-any.whl (28 kB)
Collecting plotly>=4.0
  Downloading plotly-5.11.0-py2.py3-none-any.whl (15.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.3/15.3 MB 22.9 MB/s eta 0:00:00
Collecting scikit-learn
  Downloading scikit_learn-1.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 24.8/24.8 MB 33.0 MB/s eta 0:00:00
Collecting pygraphviz
  Downloading pygraphviz-1.7.zip (118 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.8/118.8 kB 155.3 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting streamz
  Downloading streamz-0.6.4-py2.py3-none-any.whl (76 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.9/76.9 kB 98.2 MB/s eta 0:00:00
Collecting networkx>=2.5
  Downloading networkx-2.6.3-py3-none-any.whl (1.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 26.7 MB/s eta 0:00:00
Collecting ipyleaflet
  Downloading ipyleaflet-0.17.2-py3-none-any.whl (3.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 38.1 MB/s eta 0:00:00
Collecting hvplot
  Downloading hvplot-0.8.2-py2.py3-none-any.whl (3.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 96.3 MB/s eta 0:00:00
Collecting datashader
  Downloading datashader-0.14.3-py2.py3-none-any.whl (18.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 37.2 MB/s eta 0:00:00
Collecting vtk==9.0.1
  Downloading vtk-9.0.1-cp37-cp37m-manylinux2010_x86_64.whl (103.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.4/103.4 MB 4.7 MB/s eta 0:00:00
Collecting croniter
  Downloading croniter-1.3.8-py2.py3-none-any.whl (18 kB)
Collecting xarray
  Downloading xarray-0.20.2-py3-none-any.whl (845 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 845.2/845.2 kB 84.0 MB/s eta 0:00:00
Collecting ipyvolume
  Downloading ipyvolume-0.5.2-py2.py3-none-any.whl (2.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB 34.2 MB/s eta 0:00:00
Collecting xgboost
  Downloading xgboost-1.6.2-py3-none-manylinux2014_x86_64.whl (255.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 255.9/255.9 MB 28.8 MB/s eta 0:00:00
ERROR: Ignored the following versions that require a different python version: 0.21.0 Requires-Python >=3.8; 0.21.1 Requires-Python >=3.8; 1.1.0 Requires-Python >=3.8; 1.1.1 Requires-Python >=3.8; 1.1.2 Requires-Python >=3.8; 1.1.3 Requires-Python >=3.8; 1.10 Requires-Python >=3.8; 1.10rc1 Requires-Python >=3.8; 1.2.0 Requires-Python >=3.8; 1.2.0rc1 Requires-Python >=3.8; 1.7.0 Requires-Python >=3.8; 1.7.0.post0 Requires-Python >=3.8; 1.7.0rc1 Requires-Python >=3.8; 1.7.1 Requires-Python >=3.8; 1.7.2 Requires-Python >=3.8; 1.9 Requires-Python >=3.8; 2.7 Requires-Python >=3.8; 2.7.1 Requires-Python >=3.8; 2.7rc1 Requires-Python >=3.8; 2.8 Requires-Python >=3.8; 2.8.1 Requires-Python >=3.8; 2.8.1rc1 Requires-Python >=3.8; 2.8.2 Requires-Python >=3.8; 2.8.3 Requires-Python >=3.8; 2.8.4 Requires-Python >=3.8; 2.8.5 Requires-Python >=3.8; 2.8.6 Requires-Python >=3.8; 2.8.7 Requires-Python >=3.8; 2.8.8 Requires-Python >=3.8; 2.8rc1 Requires-Python >=3.8; 2022.10.0 Requires-Python >=3.8; 2022.11.0 Requires-Python >=3.8; 2022.12.0 Requires-Python >=3.8; 2022.3.0 Requires-Python >=3.8; 2022.6.0 Requires-Python >=3.8; 2022.6.0rc0 Requires-Python >=3.8; 2022.9.0 Requires-Python >=3.8; 3.0.0 Requires-Python >=3.8; 3.0.0.dev10 Requires-Python >=3.8; 3.0.0.dev11 Requires-Python >=3.8; 3.0.0.dev13 Requires-Python >=3.8; 3.0.0.dev14 Requires-Python >=3.8; 3.0.0.dev15 Requires-Python >=3.8; 3.0.0.dev16 Requires-Python >=3.8; 3.0.0.dev17 Requires-Python >=3.8; 3.0.0.dev18 Requires-Python >=3.8; 3.0.0.dev19 Requires-Python >=3.8; 3.0.0.dev20 Requires-Python >=3.8; 3.0.0.dev3 Requires-Python >=3.8; 3.0.0.dev4 Requires-Python >=3.8; 3.0.0.dev5 Requires-Python >=3.8; 3.0.0.dev6 Requires-Python >=3.8; 3.0.0.dev7 Requires-Python >=3.8; 3.0.0.dev8 Requires-Python >=3.8; 3.0.0.dev9 Requires-Python >=3.8; 3.0.0rc1 Requires-Python >=3.8; 3.0.0rc2 Requires-Python >=3.8; 3.0.0rc3 Requires-Python >=3.8; 3.0.0rc4 Requires-Python >=3.8; 3.0.0rc5 Requires-Python >=3.8; 3.0.0rc6 Requires-Python >=3.8; 3.0.1 Requires-Python >=3.8; 3.0.1rc1 Requires-Python >=3.8; 3.0.2 Requires-Python >=3.8; 3.0.2rc1 Requires-Python >=3.8; 3.0.3 Requires-Python >=3.8; 3.0.3rc1 Requires-Python >=3.8; 3.0b1 Requires-Python >=3.8; 3.0rc1 Requires-Python >=3.8; 3.1.0.dev1 Requires-Python >=3.8; 4.0 Requires-Python >=3.8; 4.0.1 Requires-Python >=3.8; 4.0.2 Requires-Python >=3.8; 4.0.3 Requires-Python >=3.8; 4.0.4 Requires-Python >=3.8; 4.0.5 Requires-Python >=3.8; 4.0.6 Requires-Python >=3.8; 4.0.7 Requires-Python >=3.8; 4.0.8 Requires-Python >=3.8; 4.0a1 Requires-Python >=3.8; 4.0b1 Requires-Python >=3.8; 4.0rc1 Requires-Python >=3.8; 4.1 Requires-Python >=3.8; 4.1.1 Requires-Python >=3.8; 4.1.2 Requires-Python >=3.8; 4.1.3 Requires-Python >=3.8; 4.1.4 Requires-Python >=3.8; 4.1.5 Requires-Python >=3.8; 4.1a1 Requires-Python >=3.8; 4.1b1 Requires-Python >=3.8; 4.1rc1 Requires-Python >=3.8
ERROR: Could not find a version that satisfies the requirement python-graphviz; extra == "examples" (from panel[examples]) (from versions: none)
ERROR: No matching distribution found for python-graphviz; extra == "examples"
Removing intermediate container 8442f1cd67b1
The command '/bin/sh -c ${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir -r "binder/requirements.txt"' returned a non-zero code: 1

I also clicked on the Binder link at https://panel.holoviz.org/gallery/demos/gapminders.html which tries to launch this:
https://mybinder.org/v2/gh/panel-demos/gapminder/master?urlpath=/gapminder.ipynb

It fails with a different install error:

Step 39/52 : RUN TIMEFORMAT='time: %3R' bash -c 'time ${MAMBA_EXE} env update -p ${NB_PYTHON_PREFIX} --file "environment.yml" && time ${MAMBA_EXE} clean --all -f -y && ${MAMBA_EXE} list -p ${NB_PYTHON_PREFIX} '
 ---> Running in ef1ef7be3896


Looking for: ['nbserverproxy', 'conda-forge::altair', 'conda-forge::plotly', 'holoviews=1.12.2', 'hvplot=0.4.0', 'panel=0.5.1', 'param=1.9.0', 'pyviz_comms=0.7.2', 'bokeh=1.1.0', "tornado[version='<6']"]


Encountered problems while solving:
  - nothing provides __win needed by jupyterhub-base-3.0.0-pyh08f2357_1

time: 29.519
Removing intermediate container ef1ef7be3896
The command '/bin/sh -c TIMEFORMAT='time: %3R' bash -c 'time ${MAMBA_EXE} env update -p ${NB_PYTHON_PREFIX} --file "environment.yml" && time ${MAMBA_EXE} clean --all -f -y && ${MAMBA_EXE} list -p ${NB_PYTHON_PREFIX} '' returned a non-zero code: 1
@droumis
Copy link
Member

droumis commented Jan 10, 2023

Confirmed, I'm seeing the same errors.

@cdeil
Copy link
Contributor Author

cdeil commented Nov 1, 2023

@MarcSkovMadsen - can this be closed?

Do you still link to Binder somewhere from the docs or support it?

@cdeil
Copy link
Contributor Author

cdeil commented Mar 23, 2024

I'm closing this old issue.

There doesn't seem to be a link to Binder any more from the README or docs.

I do see there's still this folder: https://github.com/holoviz/panel/tree/7ea314b7ca604dfb205c442034c24eaec6f5acd1/binder

@cdeil cdeil closed this as completed Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants