Open drscotthawley opened 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;
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
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