kazuar / jupyter_britecharts_widget_tutorial Goto Github PK
View Code? Open in Web Editor NEWTutorial for a basic Jupyter-britecharts widget
License: MIT License
Tutorial for a basic Jupyter-britecharts widget
License: MIT License
The output of:
pip install git+https://github.com/kazuar/jupyter_britecharts_widget_tutorial.git
jupyter nbextension enable --py --sys-prefix jupyter_britecharts_widget_tutorial
gives:
Collecting git+https://github.com/kazuar/jupyter_britecharts_widget_tutorial.git
Cloning https://github.com/kazuar/jupyter_britecharts_widget_tutorial.git to /tmp/pip-req-build-13oem_qj
Running command git clone -q https://github.com/kazuar/jupyter_britecharts_widget_tutorial.git /tmp/pip-req-build-13oem_qj
ERROR: Command errored out with exit status 1:
command: /home/jenkins/workspace/RunNotebookPy3@2/py36env/bin/python3.6 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-13oem_qj/setup.py'"'"'; file='"'"'/tmp/pip-req-build-13oem_qj/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 pip-egg-info
cwd: /tmp/pip-req-build-13oem_qj/
Complete output (104 lines):
setup.py entered
$PATH=/home/jenkins/workspace/RunNotebookPy3@2/py36env/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
running egg_info
running jsdeps
6.9.0
6.9.0
Installing build dependencies with npm. This may take a while...
npm WARN deprecated [email protected]: ๐ Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
npm WARN deprecated [email protected]: Please use @jupyter-widgets/base or @jupyter-widgets/controls
npm WARN deprecated [email protected]: use @phosphor/ packages
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated [email protected]: I wrote this module a very long time ago; you should use something else.> [email protected] postinstall /tmp/pip-req-build-13oem_qj/js/node_modules/core-js > node scripts/postinstall || echo "ignore" Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library! The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: > https://opencollective.com/core-js > https://www.patreon.com/zloirock Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -) > [email protected] postinstall /tmp/pip-req-build-13oem_qj/js/node_modules/jupyter-js-widgets > npm dedupe npm notice created a lockfile as package-lock.json. You should commit this file. audited 1 package in 0.938s found 0 vulnerabilities npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated. npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only. npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information. > [email protected] prepublish /tmp/pip-req-build-13oem_qj/js > webpack Hash: ce3ca660d81298c1074fc452e266d146e3c89a20578968e4a18b8b5854fd Version: webpack 1.15.0 Child Hash: ce3ca660d81298c1074f Version: webpack 1.15.0 Time: 260ms Asset Size Chunks Chunk Names extension.js 2.09 kB 0 [emitted] main [0] ./src/extension.js 653 bytes {0} [built] Child Hash: c452e266d146e3c89a20 Version: webpack 1.15.0 Time: 260ms + 1 hidden modules ERROR in ./src/index.js Module build failed: TypeError: fileSystem.statSync is not a function at module.exports (/tmp/pip-req-build-13oem_qj/js/node_modules/babel-loader/lib/utils/exists.js:7:25) at find (/tmp/pip-req-build-13oem_qj/js/node_modules/babel-loader/lib/resolve-rc.js:13:9) at Object.module.exports (/tmp/pip-req-build-13oem_qj/js/node_modules/babel-loader/lib/index.js:111:132) Child Hash: 578968e4a18b8b5854fd Version: webpack 1.15.0 Time: 259ms + 1 hidden modules ERROR in ./src/embed.js Module build failed: TypeError: fileSystem.statSync is not a function at module.exports (/tmp/pip-req-build-13oem_qj/js/node_modules/babel-loader/lib/utils/exists.js:7:25) at find (/tmp/pip-req-build-13oem_qj/js/node_modules/babel-loader/lib/resolve-rc.js:13:9) at Object.module.exports (/tmp/pip-req-build-13oem_qj/js/node_modules/babel-loader/lib/index.js:111:132) npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN [email protected] requires a peer of webpack@2 || 3 || 4 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] No license field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) added 595 packages from 494 contributors and audited 6193 packages in 13.415s found 4 vulnerabilities (2 low, 1 moderate, 1 high) run `npm audit fix` to fix them, or `npm audit` for details /home/jenkins/workspace/RunNotebookPy3@2/py36env/lib/python3.6/site-packages/setuptools/dist.py:475: UserWarning: Normalizing '0.1.0.dev' to '0.1.0.dev0' normalized_version, rebuilding js and css failed missing files: ['/tmp/pip-req-build-13oem_qj/jupyter_britecharts_widget_tutorial/static/index.js'] Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-req-build-13oem_qj/setup.py", line 166, in <module> setup(**setup_args) File "/home/jenkins/workspace/RunNotebookPy3@2/py36env/lib/python3.6/site-packages/setuptools/__init__.py", line 145, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.6/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/tmp/pip-req-build-13oem_qj/setup.py", line 45, in run raise e File "/tmp/pip-req-build-13oem_qj/setup.py", line 38, in run self.distribution.run_command('jsdeps') File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/tmp/pip-req-build-13oem_qj/setup.py", line 109, in run raise ValueError(msg) ValueError: Missing file: /tmp/pip-req-build-13oem_qj/jupyter_britecharts_widget_tutorial/static/index.js ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Traceback (most recent call last):
File "/home/jenkins/workspace/RunNotebookPy3@2/py36env/bin/jupyter-nbextension", line 10, in
sys.exit(main())
File "/home/jenkins/workspace/RunNotebookPy3@2/py36env/lib/python3.6/site-packages/jupyter_core/application.py", line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/home/jenkins/workspace/RunNotebookPy3@2/py36env/lib/python3.6/site-packages/traitlets/config/application.py", line 664, in launch_instance
app.start()
File "/home/jenkins/workspace/RunNotebookPy3@2/py36env/lib/python3.6/site-packages/notebook/nbextensions.py", line 988, in start
super(NBExtensionApp, self).start()
File "/home/jenkins/workspace/RunNotebookPy3@2/py36env/lib/python3.6/site-packages/jupyter_core/application.py", line 256, in start
self.subapp.start()
File "/home/jenkins/workspace/RunNotebookPy3@2/py36env/lib/python3.6/site-packages/notebook/nbextensions.py", line 896, in start
self.toggle_nbextension_python(self.extra_args[0])
File "/home/jenkins/workspace/RunNotebookPy3@2/py36env/lib/python3.6/site-packages/notebook/nbextensions.py", line 872, in toggle_nbextension_python
logger=self.log)
File "/home/jenkins/workspace/RunNotebookPy3@2/py36env/lib/python3.6/site-packages/notebook/nbextensions.py", line 483, in enable_nbextension_python
logger=logger)
File "/home/jenkins/workspace/RunNotebookPy3@2/py36env/lib/python3.6/site-packages/notebook/nbextensions.py", line 380, in _set_nbextension_state_python
m, nbexts = _get_nbextension_metadata(module)
File "/home/jenkins/workspace/RunNotebookPy3@2/py36env/lib/python3.6/site-packages/notebook/nbextensions.py", line 1122, in _get_nbextension_metadata
m = import_item(module)
File "/home/jenkins/workspace/RunNotebookPy3@2/py36env/lib/python3.6/site-packages/traitlets/utils/importstring.py", line 42, in import_item
return import(parts[0])
ModuleNotFoundError: No module named 'jupyter_britecharts_widget_tutorial'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.