Closed mlwkshops closed 5 years ago
FYI: Same error occurs when I try to create the custom notebook images as in the documentation. The build succeeds but the deployment fails with the same error:
oc new-build --name custom-notebook --image-stream s2i-minimal-notebook:3.6 --code https://github.com/jupyter-on-openshift/jupyter-notebooks --context-dir tensorflow-notebook
Build Log:
Cloning "https://github.com/jupyter-on-openshift/jupyter-notebooks " ...
Commit: 752783cd1df8a9cfa1c712e65e46dcebb506e1ae (Merge tag '2.2.1' into develop)
Author: Graham Dumpleton <Graham.Dumpleton@gmail.com>
Date: Mon May 20 11:14:35 2019 +1000
Using quay.io/jupyteronopenshift/s2i-minimal-notebook-py36@sha256:749a49914fa22f0842c302946be9b9942ff0d9df72dd24e260a0bdee0ac2dcb5 as the s2i builder image
+ set -eo pipefail
+ /opt/app-root/builder/assemble
+ set -eo pipefail
+ rm -f requirements.txt
+ '[' -s /tmp/build/requirements.txt ']'
+ /usr/libexec/s2i/assemble
---> Installing application source ...
---> Installing dependencies ...
Collecting ipywidgets==7.2.* (from -r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/7d/24/fabc09ad81c6071159a4d12d5bfbddcbea69bd9e3b16c3250ef300c0285f/ipywidgets-7.2.1-py2.py3-none-any.whl (106kB)
Collecting pandas==0.23.* (from -r requirements.txt (line 4))
Downloading https://files.pythonhosted.org/packages/e1/d8/feeb346d41f181e83fba45224ab14a8d8af019b48af742e047f3845d8cff/pandas-0.23.4-cp36-cp36m-manylinux1_x86_64.whl (8.9MB)
Collecting numexpr==2.6.* (from -r requirements.txt (line 5))
Downloading https://files.pythonhosted.org/packages/0e/13/d38d56c4c49e50b35b6912c80d89f856d50aff605c9e3a4dbba91fc3df44/numexpr-2.6.9-cp36-cp36m-manylinux1_x86_64.whl (163kB)
Collecting matplotlib==2.2.* (from -r requirements.txt (line 6))
Downloading https://files.pythonhosted.org/packages/48/9b/7ee428ab95b07946d5c20ba01ce27721686e6051b202930d3d810821c166/matplotlib-2.2.4-cp36-cp36m-manylinux1_x86_64.whl (12.8MB)
Collecting scipy==1.1.* (from -r requirements.txt (line 7))
Downloading https://files.pythonhosted.org/packages/a8/0b/f163da98d3a01b3e0ef1cab8dd2123c34aee2bafbb1c5bffa354cc8a1730/scipy-1.1.0-cp36-cp36m-manylinux1_x86_64.whl (31.2MB)
Collecting seaborn==0.9.* (from -r requirements.txt (line 8))
Downloading https://files.pythonhosted.org/packages/a8/76/220ba4420459d9c4c9c9587c6ce607bf56c25b3d3d2de62056efe482dadc/seaborn-0.9.0-py3-none-any.whl (208kB)
Collecting scikit-learn==0.20.* (from -r requirements.txt (line 9))
Downloading https://files.pythonhosted.org/packages/5e/82/c0de5839d613b82bddd088599ac0bbfbbbcbd8ca470680658352d2c435bd/scikit_learn-0.20.3-cp36-cp36m-manylinux1_x86_64.whl (5.4MB)
Collecting scikit-image==0.14.* (from -r requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/09/51/8ed3f857c2e7337b98fceeb6b37e3f39ca0d9159fa80bb2c79b958c564fc/scikit_image-0.14.3-cp36-cp36m-manylinux1_x86_64.whl (25.4MB)
Collecting sympy==1.1.* (from -r requirements.txt (line 11))
Downloading https://files.pythonhosted.org/packages/91/26/4e477dbd1f9260eb743d9f221af3044648a8fb2fcf3f2f23daee4dc831a4/sympy-1.1.1.tar.gz (4.6MB)
Collecting cython==0.28.* (from -r requirements.txt (line 12))
Downloading https://files.pythonhosted.org/packages/da/7e/bfcb9575a04b147885b014689f8d57421ef759114db2183af035f2c872a2/Cython-0.28.6-cp36-cp36m-manylinux1_x86_64.whl (3.4MB)
Collecting patsy==0.5.* (from -r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/ea/0c/5f61f1a3d4385d6bf83b83ea495068857ff8dfb89e74824c6e9eb63286d8/patsy-0.5.1-py2.py3-none-any.whl (231kB)
Collecting statsmodels==0.9.* (from -r requirements.txt (line 14))
Downloading https://files.pythonhosted.org/packages/85/d1/69ee7e757f657e7f527cbf500ec2d295396e5bcec873cf4eb68962c41024/statsmodels-0.9.0-cp36-cp36m-manylinux1_x86_64.whl (7.4MB)
Collecting cloudpickle==0.5.* (from -r requirements.txt (line 15))
Downloading https://files.pythonhosted.org/packages/98/d6/a78a4589234cc6f47f29665c1225f30467db5fdaf4ca1fb52b0685bff108/cloudpickle-0.5.6-py2.py3-none-any.whl
Collecting dill==0.2.* (from -r requirements.txt (line 16))
Downloading https://files.pythonhosted.org/packages/fe/42/bfe2e0857bc284cbe6a011d93f2a9ad58a22cb894461b199ae72cfef0f29/dill-0.2.9.tar.gz (150kB)
Collecting numba==0.38.* (from -r requirements.txt (line 17))
Downloading https://files.pythonhosted.org/packages/1e/74/bcf00816aa212e1439709f88b4e62519b60c89e18eb9f9f67e7d02ab4461/numba-0.38.1-cp36-cp36m-manylinux1_x86_64.whl (1.9MB)
Collecting bokeh==0.13.* (from -r requirements.txt (line 18))
Downloading https://files.pythonhosted.org/packages/07/1b/1bb751797f0bbbafc2642c629656ce158e7e7b7fb1110f449f7c320fb819/bokeh-0.13.0.tar.gz (16.0MB)
Collecting sqlalchemy==1.2.* (from -r requirements.txt (line 19))
Downloading https://files.pythonhosted.org/packages/f9/67/d07cf7ac7e6dd0bc55ba62816753f86d7c558107104ca915e730c9ec2512/SQLAlchemy-1.2.19.tar.gz (5.7MB)
Collecting h5py==2.7.* (from -r requirements.txt (line 21))
Downloading https://files.pythonhosted.org/packages/f2/b8/a63fcc840bba5c76e453dd712dbca63178a264c8990e0086b72965d4e954/h5py-2.7.1-cp36-cp36m-manylinux1_x86_64.whl (5.4MB)
Collecting vincent==0.4.* (from -r requirements.txt (line 22))
Downloading https://files.pythonhosted.org/packages/11/bf/a12ecaa21a2e376a16de67e09f64a38a4acd95e04e5dc35ad2f13a6f0bfd/vincent-0.4.4.tar.gz
Collecting beautifulsoup4==4.6.* (from -r requirements.txt (line 23))
Downloading https://files.pythonhosted.org/packages/21/0a/47fdf541c97fd9b6a610cb5fd518175308a7cc60569962e776ac52420387/beautifulsoup4-4.6.3-py3-none-any.whl (90kB)
Collecting protobuf==3.* (from -r requirements.txt (line 24))
Downloading https://files.pythonhosted.org/packages/d2/fb/29de8d08967f0cce1bb10b39846d836b0f3bf6776ddc36aed7c73498ca7e/protobuf-3.8.0-cp36-cp36m-manylinux1_x86_64.whl (1.2MB)
Collecting xlrd==1.2.* (from -r requirements.txt (line 25))
Downloading https://files.pythonhosted.org/packages/b0/16/63576a1a001752e34bf8ea62e367997530dc553b689356b9879339cf45a4/xlrd-1.2.0-py2.py3-none-any.whl (103kB)
Collecting tensorflow==1.11.* (from -r requirements.txt (line 29))
Downloading https://files.pythonhosted.org/packages/ce/d5/38cd4543401708e64c9ee6afa664b936860f4630dd93a49ab863f9998cd2/tensorflow-1.11.0-cp36-cp36m-manylinux1_x86_64.whl (63.0MB)
Collecting keras==2.2.* (from -r requirements.txt (line 30))
Downloading https://files.pythonhosted.org/packages/5e/10/aa32dad071ce52b5502266b5c659451cfd6ffcbf14e6c8c4f16c0ff5aaab/Keras-2.2.4-py2.py3-none-any.whl (312kB)
Collecting widgetsnbextension~=3.2.0 (from ipywidgets==7.2.*->-r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/ff/fa/64acc09fc845a6b2dc0724d6f3f81e829b778ed5e9a7559567b4f19a3f4b/widgetsnbextension-3.2.1-py2.py3-none-any.whl (2.2MB)
Requirement already satisfied: nbformat>=4.2.0 in /opt/app-root/lib/python3.6/site-packages (from ipywidgets==7.2.*->-r requirements.txt (line 3)) (4.4.0)
Requirement already satisfied: ipython>=4.0.0; python_version >= "3.3" in /opt/app-root/lib/python3.6/site-packages (from ipywidgets==7.2.*->-r requirements.txt (line 3)) (7.5.0)
Requirement already satisfied: traitlets>=4.3.1 in /opt/app-root/lib/python3.6/site-packages (from ipywidgets==7.2.*->-r requirements.txt (line 3)) (4.3.2)
Requirement already satisfied: ipykernel>=4.5.1 in /opt/app-root/lib/python3.6/site-packages (from ipywidgets==7.2.*->-r requirements.txt (line 3)) (5.1.1)
Requirement already satisfied: python-dateutil>=2.5.0 in /opt/app-root/lib/python3.6/site-packages (from pandas==0.23.*->-r requirements.txt (line 4)) (2.8.0)
Collecting numpy>=1.9.0 (from pandas==0.23.*->-r requirements.txt (line 4))
Downloading https://files.pythonhosted.org/packages/87/2d/e4656149cbadd3a8a0369fcd1a9c7d61cc7b87b3903b85389c70c989a696/numpy-1.16.4-cp36-cp36m-manylinux1_x86_64.whl (17.3MB)
Collecting pytz>=2011k (from pandas==0.23.*->-r requirements.txt (line 4))
Downloading https://files.pythonhosted.org/packages/3d/73/fe30c2daaaa0713420d0382b16fbb761409f532c56bdcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-any.whl (510kB)
Collecting kiwisolver>=1.0.1 (from matplotlib==2.2.*->-r requirements.txt (line 6))
Downloading https://files.pythonhosted.org/packages/f8/a1/5742b56282449b1c0968197f63eae486eca2c35dcd334bab75ad524e0de1/kiwisolver-1.1.0-cp36-cp36m-manylinux1_x86_64.whl (90kB)
Collecting cycler>=0.10 (from matplotlib==2.2.*->-r requirements.txt (line 6))
Downloading https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
Requirement already satisfied: six>=1.10 in /opt/app-root/lib/python3.6/site-packages (from matplotlib==2.2.*->-r requirements.txt (line 6)) (1.12.0)
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 (from matplotlib==2.2.*->-r requirements.txt (line 6))
Downloading https://files.pythonhosted.org/packages/dd/d9/3ec19e966301a6e25769976999bd7bbe552016f0d32b577dc9d63d2e0c49/pyparsing-2.4.0-py2.py3-none-any.whl (62kB)
Collecting pillow>=4.3.0 (from scikit-image==0.14.*->-r requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/d2/c2/f84b1e57416755e967236468dcfb0fad7fd911f707185efc4ba8834a1a94/Pillow-6.0.0-cp36-cp36m-manylinux1_x86_64.whl (2.0MB)
Collecting PyWavelets>=0.4.0 (from scikit-image==0.14.*->-r requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/4e/cd/528dba0b474b08f6f9a3a5e1b4bb23d8e33ed5d9f0e321cc967c2607df05/PyWavelets-1.0.3-cp36-cp36m-manylinux1_x86_64.whl (4.4MB)
Collecting networkx>=1.8 (from scikit-image==0.14.*->-r requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/85/08/f20aef11d4c343b557e5de6b9548761811eb16e438cee3d32b1c66c8566b/networkx-2.3.zip (1.7MB)
Collecting mpmath>=0.19 (from sympy==1.1.*->-r requirements.txt (line 11))
Downloading https://files.pythonhosted.org/packages/ca/63/3384ebb3b51af9610086b23ea976e6d27d6d97bf140a76a365bd77a3eb32/mpmath-1.1.0.tar.gz (512kB)
Collecting llvmlite>=0.23.0dev0 (from numba==0.38.*->-r requirements.txt (line 17))
Downloading https://files.pythonhosted.org/packages/09/f1/4fa99c2079132da8694361fb9a19094616f1ba2c2eae610379e75394575f/llvmlite-0.29.0-cp36-cp36m-manylinux1_x86_64.whl (20.4MB)
Requirement already satisfied: PyYAML>=3.10 in /opt/app-root/lib/python3.6/site-packages (from bokeh==0.13.*->-r requirements.txt (line 18)) (5.1)
Requirement already satisfied: Jinja2>=2.7 in /opt/app-root/lib/python3.6/site-packages (from bokeh==0.13.*->-r requirements.txt (line 18)) (2.10.1)
Collecting packaging>=16.8 (from bokeh==0.13.*->-r requirements.txt (line 18))
Downloading https://files.pythonhosted.org/packages/91/32/58bc30e646e55eab8b21abf89e353f59c0cc02c417e42929f4a9546e1b1d/packaging-19.0-py2.py3-none-any.whl
Requirement already satisfied: tornado>=4.3 in /opt/app-root/lib/python3.6/site-packages (from bokeh==0.13.*->-r requirements.txt (line 18)) (5.1.1)
Requirement already satisfied: setuptools in /opt/app-root/lib/python3.6/site-packages (from protobuf==3.*->-r requirements.txt (line 24)) (41.0.1)
Collecting termcolor>=1.1.0 (from tensorflow==1.11.*->-r requirements.txt (line 29))
Downloading https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz
Collecting keras-applications>=1.0.5 (from tensorflow==1.11.*->-r requirements.txt (line 29))
Downloading https://files.pythonhosted.org/packages/71/e3/19762fdfc62877ae9102edf6342d71b28fbfd9dea3d2f96a882ce099b03f/Keras_Applications-1.0.8-py3-none-any.whl (50kB)
Requirement already satisfied: wheel>=0.26 in /opt/app-root/lib/python3.6/site-packages (from tensorflow==1.11.*->-r requirements.txt (line 29)) (0.33.4)
Collecting grpcio>=1.8.6 (from tensorflow==1.11.*->-r requirements.txt (line 29))
Downloading https://files.pythonhosted.org/packages/99/83/18f374294bf34128a448ee2fae37651f943b0b5fa473b5b3aff262c15bf8/grpcio-1.21.1-cp36-cp36m-manylinux1_x86_64.whl (2.2MB)
Collecting absl-py>=0.1.6 (from tensorflow==1.11.*->-r requirements.txt (line 29))
Downloading https://files.pythonhosted.org/packages/da/3f/9b0355080b81b15ba6a9ffcf1f5ea39e307a2778b2f2dc8694724e8abd5b/absl-py-0.7.1.tar.gz (99kB)
Collecting tensorboard<1.12.0,>=1.11.0 (from tensorflow==1.11.*->-r requirements.txt (line 29))
Downloading https://files.pythonhosted.org/packages/9b/2f/4d788919b1feef04624d63ed6ea45a49d1d1c834199ec50716edb5d310f4/tensorboard-1.11.0-py3-none-any.whl (3.0MB)
Collecting astor>=0.6.0 (from tensorflow==1.11.*->-r requirements.txt (line 29))
Downloading https://files.pythonhosted.org/packages/d1/4f/950dfae467b384fc96bc6469de25d832534f6b4441033c39f914efd13418/astor-0.8.0-py2.py3-none-any.whl
Collecting keras-preprocessing>=1.0.3 (from tensorflow==1.11.*->-r requirements.txt (line 29))
Downloading https://files.pythonhosted.org/packages/28/6a/8c1f62c37212d9fc441a7e26736df51ce6f0e38455816445471f10da4f0a/Keras_Preprocessing-1.1.0-py2.py3-none-any.whl (41kB)
Collecting gast>=0.2.0 (from tensorflow==1.11.*->-r requirements.txt (line 29))
Downloading https://files.pythonhosted.org/packages/4e/35/11749bf99b2d4e3cceb4d55ca22590b0d7c2c62b9de38ac4a4a7f4687421/gast-0.2.2.tar.gz
Requirement already satisfied: notebook>=4.4.1 in /opt/app-root/lib/python3.6/site-packages (from widgetsnbextension~=3.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (5.7.8)
Requirement already satisfied: ipython-genutils in /opt/app-root/lib/python3.6/site-packages (from nbformat>=4.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (0.2.0)
Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in /opt/app-root/lib/python3.6/site-packages (from nbformat>=4.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (3.0.1)
Requirement already satisfied: jupyter-core in /opt/app-root/lib/python3.6/site-packages (from nbformat>=4.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (4.4.0)
Requirement already satisfied: prompt-toolkit<2.1.0,>=2.0.0 in /opt/app-root/lib/python3.6/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets==7.2.*->-r requirements.txt (line 3)) (2.0.9)
Requirement already satisfied: backcall in /opt/app-root/lib/python3.6/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets==7.2.*->-r requirements.txt (line 3)) (0.1.0)
Requirement already satisfied: pexpect; sys_platform != "win32" in /opt/app-root/lib/python3.6/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets==7.2.*->-r requirements.txt (line 3)) (4.7.0)
Requirement already satisfied: jedi>=0.10 in /opt/app-root/lib/python3.6/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets==7.2.*->-r requirements.txt (line 3)) (0.13.3)
Requirement already satisfied: pickleshare in /opt/app-root/lib/python3.6/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets==7.2.*->-r requirements.txt (line 3)) (0.7.5)
Requirement already satisfied: pygments in /opt/app-root/lib/python3.6/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets==7.2.*->-r requirements.txt (line 3)) (2.4.0)
Requirement already satisfied: decorator in /opt/app-root/lib/python3.6/site-packages (from ipython>=4.0.0; python_version >= "3.3"->ipywidgets==7.2.*->-r requirements.txt (line 3)) (4.4.0)
Requirement already satisfied: jupyter-client in /opt/app-root/lib/python3.6/site-packages (from ipykernel>=4.5.1->ipywidgets==7.2.*->-r requirements.txt (line 3)) (5.2.4)
Requirement already satisfied: MarkupSafe>=0.23 in /opt/app-root/lib/python3.6/site-packages (from Jinja2>=2.7->bokeh==0.13.*->-r requirements.txt (line 18)) (1.1.1)
Collecting markdown>=2.6.8 (from tensorboard<1.12.0,>=1.11.0->tensorflow==1.11.*->-r requirements.txt (line 29))
Downloading https://files.pythonhosted.org/packages/c0/4e/fd492e91abdc2d2fcb70ef453064d980688762079397f779758e055f6575/Markdown-3.1.1-py2.py3-none-any.whl (87kB)
Collecting werkzeug>=0.11.10 (from tensorboard<1.12.0,>=1.11.0->tensorflow==1.11.*->-r requirements.txt (line 29))
Downloading https://files.pythonhosted.org/packages/9f/57/92a497e38161ce40606c27a86759c6b92dd34fcdb33f64171ec559257c02/Werkzeug-0.15.4-py2.py3-none-any.whl (327kB)
Requirement already satisfied: nbconvert in /opt/app-root/lib/python3.6/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (5.5.0)
Requirement already satisfied: Send2Trash in /opt/app-root/lib/python3.6/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (1.5.0)
Requirement already satisfied: terminado>=0.8.1 in /opt/app-root/lib/python3.6/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (0.8.2)
Requirement already satisfied: pyzmq>=17 in /opt/app-root/lib/python3.6/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (18.0.1)
Requirement already satisfied: prometheus-client in /opt/app-root/lib/python3.6/site-packages (from notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (0.6.0)
Requirement already satisfied: attrs>=17.4.0 in /opt/app-root/lib/python3.6/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (19.1.0)
Requirement already satisfied: pyrsistent>=0.14.0 in /opt/app-root/lib/python3.6/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (0.15.2)
Requirement already satisfied: wcwidth in /opt/app-root/lib/python3.6/site-packages (from prompt-toolkit<2.1.0,>=2.0.0->ipython>=4.0.0; python_version >= "3.3"->ipywidgets==7.2.*->-r requirements.txt (line 3)) (0.1.7)
Requirement already satisfied: ptyprocess>=0.5 in /opt/app-root/lib/python3.6/site-packages (from pexpect; sys_platform != "win32"->ipython>=4.0.0; python_version >= "3.3"->ipywidgets==7.2.*->-r requirements.txt (line 3)) (0.6.0)
Requirement already satisfied: parso>=0.3.0 in /opt/app-root/lib/python3.6/site-packages (from jedi>=0.10->ipython>=4.0.0; python_version >= "3.3"->ipywidgets==7.2.*->-r requirements.txt (line 3)) (0.4.0)
Requirement already satisfied: defusedxml in /opt/app-root/lib/python3.6/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (0.6.0)
Requirement already satisfied: testpath in /opt/app-root/lib/python3.6/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (0.4.2)
Requirement already satisfied: pandocfilters>=1.4.1 in /opt/app-root/lib/python3.6/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (1.4.2)
Requirement already satisfied: entrypoints>=0.2.2 in /opt/app-root/lib/python3.6/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (0.3)
Requirement already satisfied: bleach in /opt/app-root/lib/python3.6/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (3.1.0)
Requirement already satisfied: mistune>=0.8.1 in /opt/app-root/lib/python3.6/site-packages (from nbconvert->notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (0.8.4)
Requirement already satisfied: webencodings in /opt/app-root/lib/python3.6/site-packages (from bleach->nbconvert->notebook>=4.4.1->widgetsnbextension~=3.2.0->ipywidgets==7.2.*->-r requirements.txt (line 3)) (0.5.1)
Building wheels for collected packages: sympy, dill, bokeh, sqlalchemy, vincent, networkx, mpmath, termcolor, absl-py, gast
Building wheel for sympy (setup.py): started
Building wheel for sympy (setup.py): finished with status 'done'
Stored in directory: /tmp/pip-ephem-wheel-cache-r5ucunhs/wheels/6d/47/7c/40a7cd9b9bd5bad329fcd21d8e50629700fcc6e5520a66a2de
Building wheel for dill (setup.py): started
Building wheel for dill (setup.py): finished with status 'done'
Stored in directory: /tmp/pip-ephem-wheel-cache-r5ucunhs/wheels/5b/d7/0f/e58eae695403de585269f4e4a94e0cd6ca60ec0c202936fa4a
Building wheel for bokeh (setup.py): started
Building wheel for bokeh (setup.py): finished with status 'done'
Stored in directory: /tmp/pip-ephem-wheel-cache-r5ucunhs/wheels/05/3e/43/95ff0bde940a0a5d86ec13c22d2a4bddc97271cd788f441a63
Building wheel for sqlalchemy (setup.py): started
Building wheel for sqlalchemy (setup.py): finished with status 'done'
Stored in directory: /tmp/pip-ephem-wheel-cache-r5ucunhs/wheels/2c/90/a7/3b40c6cc468abff357b38fd075429920bd0d313659d889cf8a
Building wheel for vincent (setup.py): started
Building wheel for vincent (setup.py): finished with status 'done'
Stored in directory: /tmp/pip-ephem-wheel-cache-r5ucunhs/wheels/4c/0d/8a/65f34c765c6094a71cce3e42a49a26533eef61695e9b505f03
Building wheel for networkx (setup.py): started
Building wheel for networkx (setup.py): finished with status 'done'
Stored in directory: /tmp/pip-ephem-wheel-cache-r5ucunhs/wheels/de/63/64/3699be2a9d0ccdb37c7f16329acf3863fd76eda58c39c737af
Building wheel for mpmath (setup.py): started
Building wheel for mpmath (setup.py): finished with status 'done'
Stored in directory: /tmp/pip-ephem-wheel-cache-r5ucunhs/wheels/63/9d/8e/37c3f6506ed3f152733a699e92d8e0c9f5e5f01dea262f80ad
Building wheel for termcolor (setup.py): started
Building wheel for termcolor (setup.py): finished with status 'done'
Stored in directory: /tmp/pip-ephem-wheel-cache-r5ucunhs/wheels/7c/06/54/bc84598ba1daf8f970247f550b175aaaee85f68b4b0c5ab2c6
Building wheel for absl-py (setup.py): started
Building wheel for absl-py (setup.py): finished with status 'done'
Stored in directory: /tmp/pip-ephem-wheel-cache-r5ucunhs/wheels/ee/98/38/46cbcc5a93cfea5492d19c38562691ddb23b940176c14f7b48
Building wheel for gast (setup.py): started
Building wheel for gast (setup.py): finished with status 'done'
Stored in directory: /tmp/pip-ephem-wheel-cache-r5ucunhs/wheels/5c/2e/7e/a1d4d4fcebe6c381f378ce7743a3ced3699feb89bcfbdadadd
Successfully built sympy dill bokeh sqlalchemy vincent networkx mpmath termcolor absl-py gast
ERROR: tensorflow 1.11.0 has requirement setuptools<=39.1.0, but you'll have setuptools 41.0.1 which is incompatible.
Installing collected packages: widgetsnbextension, ipywidgets, numpy, pytz, pandas, numexpr, kiwisolver, cycler, pyparsing, matplotlib, scipy, seaborn, scikit-learn, pillow, PyWavelets, cloudpickle, networkx, scikit-image, mpmath, sympy, cython, patsy, statsmodels, dill, llvmlite, numba, packaging, bokeh, sqlalchemy, h5py, vincent, beautifulsoup4, protobuf, xlrd, termcolor, keras-applications, grpcio, absl-py, markdown, werkzeug, tensorboard, astor, keras-preprocessing, gast, tensorflow, keras
Found existing installation: cloudpickle 1.1.1
Uninstalling cloudpickle-1.1.1:
Successfully uninstalled cloudpickle-1.1.1
Found existing installation: SQLAlchemy 1.3.3
Uninstalling SQLAlchemy-1.3.3:
Successfully uninstalled SQLAlchemy-1.3.3
Successfully installed PyWavelets-1.0.3 absl-py-0.7.1 astor-0.8.0 beautifulsoup4-4.6.3 bokeh-0.13.0 cloudpickle-0.5.6 cycler-0.10.0 cython-0.28.6 dill-0.2.9 gast-0.2.2 grpcio-1.21.1 h5py-2.7.1 ipywidgets-7.2.1 keras-2.2.4 keras-applications-1.0.8 keras-preprocessing-1.1.0 kiwisolver-1.1.0 llvmlite-0.29.0 markdown-3.1.1 matplotlib-2.2.4 mpmath-1.1.0 networkx-2.3 numba-0.38.1 numexpr-2.6.9 numpy-1.16.4 packaging-19.0 pandas-0.23.4 patsy-0.5.1 pillow-6.0.0 protobuf-3.8.0 pyparsing-2.4.0 pytz-2019.1 scikit-image-0.14.3 scikit-learn-0.20.3 scipy-1.1.0 seaborn-0.9.0 sqlalchemy-1.2.19 statsmodels-0.9.0 sympy-1.1.1 tensorboard-1.11.0 tensorflow-1.11.0 termcolor-1.1.0 vincent-0.4.4 werkzeug-0.15.4 widgetsnbextension-3.2.1 xlrd-1.2.0
+ '[' x '!=' x ']'
+ jupyter nbextension enable --py widgetsnbextension --sys-prefix
Enabling notebook extension jupyter-js-widgets/extension...
- Validating: OK
+ jupyter labextension install '@jupyter-widgets/jupyterlab-manager@^0.38.1'
Node v10.10.0
> /opt/rh/rh-nodejs10/root/usr/bin/npm pack '@jupyter-widgets/jupyterlab-manager@^0.38.1'
npm notice
npm notice ߓ栠@jupyter-widgets/jupyterlab-manager@0.38.1
npm notice === Tarball Contents ===
npm notice 2.0kB package.json
npm notice 1.5kB LICENSE
npm notice 2.0kB README.md
npm notice 131B lib/index.d.ts
npm notice 410B lib/index.js
npm notice 2.5kB lib/manager.d.ts
npm notice 6.2kB lib/manager.js
npm notice 1.9kB lib/output.d.ts
npm notice 6.0kB lib/output.js
npm notice 1.1kB lib/plugin.d.ts
npm notice 3.6kB lib/plugin.js
npm notice 829B lib/renderer.d.ts
npm notice 3.0kB lib/renderer.js
npm notice 216B lib/semvercache.d.ts
npm notice 972B lib/semvercache.js
npm notice === Tarball Details ===
npm notice name: @jupyter-widgets/jupyterlab-manager
npm notice version: 0.38.1
npm notice filename: jupyter-widgets-jupyterlab-manager-0.38.1.tgz
npm notice package size: 8.5 kB
npm notice unpacked size: 32.3 kB
npm notice shasum: 1b1e17c929065bd2a93057b2378562c10c3db6c0
npm notice integrity: sha512-JutIwjs2jq6qW[...]Phr69YQ+qQZ/Q==
npm notice total files: 15
npm notice
jupyter-widgets-jupyterlab-manager-0.38.1.tgz
Node v10.10.0
> node /opt/app-root/lib/python3.6/site-packages/jupyterlab/staging/yarn.js install
yarn install v1.9.4
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/@jupyterlab%2fapplication: tunneling socket could not be established, statusCode=403".
info If you think this is a bug, please open a bug report with the information provided in "/opt/app-root/share/jupyter/lab/staging/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
> node /opt/app-root/lib/python3.6/site-packages/jupyterlab/staging/yarn.js run build
yarn run v1.9.4
$ webpack
/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/cli.js:74
throw err;
^
Error: Cannot find module '@jupyter-widgets/jupyterlab-manager/package.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.resolve (/opt/app-root/share/jupyter/lab/staging/node_modules/v8-compile-cache/v8-compile-cache.js:166:23)
at /opt/app-root/share/jupyter/lab/staging/node_modules/@jupyterlab/buildutils/lib/build.js:29:45
at Array.forEach (<anonymous>)
at Object.ensureAssets (/opt/app-root/share/jupyter/lab/staging/node_modules/@jupyterlab/buildutils/lib/build.js:28:22)
at Object.<anonymous> (/opt/app-root/share/jupyter/lab/staging/webpack.config.js:20:7)
at Module._compile (/opt/app-root/share/jupyter/lab/staging/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (/opt/app-root/share/jupyter/lab/staging/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at WEBPACK_OPTIONS (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/utils/convert-argv.js:115:13)
at requireConfig (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/utils/convert-argv.js:117:6)
at /opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/utils/convert-argv.js:124:17
at Array.forEach (<anonymous>)
at module.exports (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/utils/convert-argv.js:122:15)
at yargs.parse (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/cli.js:71:45)
at Object.parse (/opt/app-root/share/jupyter/lab/staging/node_modules/yargs/yargs.js:567:18)
at /opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/cli.js:49:8
at Object.<anonymous> (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/cli.js:375:3)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack/bin/webpack.js:157:2)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
+ jupyter labextension install jupyterlab_bokeh@0.6.3
Node v10.10.0
> /opt/rh/rh-nodejs10/root/usr/bin/npm pack jupyterlab_bokeh@0.6.3
npm notice
npm notice ߓ栠jupyterlab_bokeh@0.6.3
npm notice === Tarball Contents ===
npm notice 1.2kB package.json
npm notice 1.5kB LICENSE.txt
npm notice 1.1kB README.md
npm notice 64B lib/index.d.ts
npm notice 151B lib/index.js
npm notice 540B lib/manager.d.ts
npm notice 974B lib/manager.js
npm notice 577B lib/plugin.d.ts
npm notice 1.6kB lib/plugin.js
npm notice 1.4kB lib/renderer.d.ts
npm notice 4.9kB lib/renderer.js
npm notice === Tarball Details ===
npm notice name: jupyterlab_bokeh
npm notice version: 0.6.3
npm notice filename: jupyterlab_bokeh-0.6.3.tgz
npm notice package size: 4.6 kB
npm notice unpacked size: 14.0 kB
npm notice shasum: 55633b61acadeb2077c1cb1de19bea1e884bb263
npm notice integrity: sha512-g7BTrjeReT+iE[...]Cc8mOGpbAbJzQ==
npm notice total files: 11
npm notice
jupyterlab_bokeh-0.6.3.tgz
Node v10.10.0
> node /opt/app-root/lib/python3.6/site-packages/jupyterlab/staging/yarn.js install
yarn install v1.9.4
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/@jupyterlab%2fapplication: tunneling socket could not be established, statusCode=403".
info If you think this is a bug, please open a bug report with the information provided in "/opt/app-root/share/jupyter/lab/staging/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
> node /opt/app-root/lib/python3.6/site-packages/jupyterlab/staging/yarn.js run build
yarn run v1.9.4
$ webpack
/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/cli.js:74
throw err;
^
Error: Cannot find module '@jupyter-widgets/jupyterlab-manager/package.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.resolve (/opt/app-root/share/jupyter/lab/staging/node_modules/v8-compile-cache/v8-compile-cache.js:166:23)
at /opt/app-root/share/jupyter/lab/staging/node_modules/@jupyterlab/buildutils/lib/build.js:29:45
at Array.forEach (<anonymous>)
at Object.ensureAssets (/opt/app-root/share/jupyter/lab/staging/node_modules/@jupyterlab/buildutils/lib/build.js:28:22)
at Object.<anonymous> (/opt/app-root/share/jupyter/lab/staging/webpack.config.js:20:7)
at Module._compile (/opt/app-root/share/jupyter/lab/staging/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (/opt/app-root/share/jupyter/lab/staging/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at WEBPACK_OPTIONS (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/utils/convert-argv.js:115:13)
at requireConfig (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/utils/convert-argv.js:117:6)
at /opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/utils/convert-argv.js:124:17
at Array.forEach (<anonymous>)
at module.exports (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/utils/convert-argv.js:122:15)
at yargs.parse (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/cli.js:71:45)
at Object.parse (/opt/app-root/share/jupyter/lab/staging/node_modules/yargs/yargs.js:567:18)
at /opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/cli.js:49:8
at Object.<anonymous> (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/cli.js:375:3)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack/bin/webpack.js:157:2)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
+ cd /tmp
+ git clone https://github.com/PAIR-code/facets.git
Cloning into 'facets'...
+ cd facets
+ jupyter nbextension install facets-dist/ --sys-prefix
Making directory: /opt/app-root/share/jupyter/nbextensions/facets-dist/
Copying: /tmp/facets/facets-dist/facets-jupyter.html -> /opt/app-root/share/jupyter/nbextensions/facets-dist/facets-jupyter.html
To initialize this nbextension in the browser every time the notebook (or other app) loads:
jupyter nbextension enable <the entry point> --sys-prefix
+ cd /opt/app-root/src
+ rm -rf /tmp/facets
+ MPLBACKEND=Agg
+ python -c 'import matplotlib.pyplot'
+ fix-permissions /opt/app-root
Pushing image docker-registry.default.svc:5000/learn-icp-defiant/custom-notebook:latest ...
Pushed 0/13 layers, 0% complete
Pushed 0/13 layers, 3% complete
Pushed 0/13 layers, 8% complete
Pushed 1/13 layers, 8% complete
Push successful
Deployment:
oc new-app custom-notebook --name custom-notebook --env JUPYTER_NOTEBOOK_PASSWORD=mypassword
oc expose svc/custom-notebook
Deployment error:
ERROR: don't know how to run your application.
Please set either APP_MODULE, APP_FILE or APP_SCRIPT environment variables, or create a file 'app.py' to launch your application.
What version of OpenShift are you using?
And did you build the s2i-minimal-notebook base image yourself using then supplied build configs, or use the pre built one from quay.io?
I think I know what the problem is. Rather than use s2i-minimal-notebook image from quay.io, use one built yourself using:
That one should be okay. Am busy with stuff next couple of days, but will try and get the quay.io images fixed.
What version of OpenShift are you using?
openshift v3.11.43
And did you build the s2i-minimal-notebook base image yourself using then supplied build configs, or use the pre built one from quay.io?
Using the pre-built image from quay.io.
I think I know what the problem is. Rather than use s2i-minimal-notebook image from quay.io, use one built yourself using:
That one should be okay. Am busy with stuff next couple of days, but will try and get the quay.io images fixed.
With the manual build, it worked. Thanks for the prompt reply.
This is fixed now in repo and newer images are being built on quay.io for use.
I am using OpenShift 4.3 with the minimal notebook image built on OpenShift. I am encountering the same error while deploying scipy-notebook. The error is
ERROR: don't know how to run your application. Please set either APP_MODULE, APP_FILE or APP_SCRIPT environment variables, or create a file 'app.py' to launch your application. Build is successful but deployment fails. Any help to troubleshoot the issue is appreciated. Thanks
This is a closed issue. Please create a new issue and provide more details, including how you set the build up and all output logs from the build.
Sure. Will do. Thanks for the reply.
When deploying the template the deployment fails with the error:
Here is what I have done:
Created a template using oc create -f https://raw.githubusercontent.com/jupyter-on-openshift/jupyter-`notebooks/master/templates/notebook-quickstart.json`
From Openshift web console, created a new app in the project using the notebook-quickstart template. With the following Git repository where the contents are similar to the tensorflow-notebook folder in this repository: https://github.com/mlwkshops/minimal_jupyter_notebook
Started build. The build succeeded with the following log:
Error: Cannot find module '@jupyter-widgets/jupyterlab-manager/package.json' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15) at Function.resolve (/opt/app-root/share/jupyter/lab/staging/node_modules/v8-compile-cache/v8-compile-cache.js:166:23) at /opt/app-root/share/jupyter/lab/staging/node_modules/@jupyterlab/buildutils/lib/build.js:29:45 at Array.forEach ()
at Object.ensureAssets (/opt/app-root/share/jupyter/lab/staging/node_modules/@jupyterlab/buildutils/lib/build.js:28:22)
at Object. (/opt/app-root/share/jupyter/lab/staging/webpack.config.js:20:7)
at Module._compile (/opt/app-root/share/jupyter/lab/staging/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (/opt/app-root/share/jupyter/lab/staging/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at WEBPACK_OPTIONS (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/utils/convert-argv.js:115:13)
at requireConfig (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/utils/convert-argv.js:117:6)
at /opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/utils/convert-argv.js:124:17
at Array.forEach ()
at module.exports (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/utils/convert-argv.js:122:15)
at yargs.parse (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/cli.js:71:45)
at Object.parse (/opt/app-root/share/jupyter/lab/staging/node_modules/yargs/yargs.js:567:18)
at /opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/cli.js:49:8
at Object. (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/cli.js:375:3)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack/bin/webpack.js:157:2)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Cannot find module '@jupyter-widgets/jupyterlab-manager/package.json' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15) at Function.resolve (/opt/app-root/share/jupyter/lab/staging/node_modules/v8-compile-cache/v8-compile-cache.js:166:23) at /opt/app-root/share/jupyter/lab/staging/node_modules/@jupyterlab/buildutils/lib/build.js:29:45 at Array.forEach ()
at Object.ensureAssets (/opt/app-root/share/jupyter/lab/staging/node_modules/@jupyterlab/buildutils/lib/build.js:28:22)
at Object. (/opt/app-root/share/jupyter/lab/staging/webpack.config.js:20:7)
at Module._compile (/opt/app-root/share/jupyter/lab/staging/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (/opt/app-root/share/jupyter/lab/staging/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at WEBPACK_OPTIONS (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/utils/convert-argv.js:115:13)
at requireConfig (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/utils/convert-argv.js:117:6)
at /opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/utils/convert-argv.js:124:17
at Array.forEach ()
at module.exports (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/utils/convert-argv.js:122:15)
at yargs.parse (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/cli.js:71:45)
at Object.parse (/opt/app-root/share/jupyter/lab/staging/node_modules/yargs/yargs.js:567:18)
at /opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/cli.js:49:8
at Object. (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack-cli/bin/cli.js:375:3)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/opt/app-root/share/jupyter/lab/staging/node_modules/webpack/bin/webpack.js:157:2)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
cd /tmp
git clone https://github.com/PAIR-code/facets.git Cloning into 'facets'...
cd facets
jupyter nbextension install facets-dist/ --sys-prefix Making directory: /opt/app-root/share/jupyter/nbextensions/facets-dist/ Copying: /tmp/facets/facets-dist/facets-jupyter.html -> /opt/app-root/share/jupyter/nbextensions/facets-dist/facets-jupyter.html
To initialize this nbextension in the browser every time the notebook (or other app) loads:
cd /opt/app-root/src
rm -rf /tmp/facets
MPLBACKEND=Agg
python -c 'import matplotlib.pyplot'
fix-permissions /opt/app-root
Pushing image docker-registry.default.svc:5000/learn-icp-defiant/workshop:latest ... Pushed 0/13 layers, 1% complete Pushed 1/13 layers, 10% complete Pushed 2/13 layers, 17% complete Pushed 3/13 layers, 28% complete Pushed 4/13 layers, 34% complete Pushed 5/13 layers, 41% complete Pushed 6/13 layers, 52% complete Pushed 7/13 layers, 61% complete Pushed 8/13 layers, 64% complete Pushed 9/13 layers, 73% complete Pushed 10/13 layers, 90% complete Pushed 11/13 layers, 95% complete Pushed 12/13 layers, 96% complete Pushed 13/13 layers, 100% complete Push successful
ERROR: don't know how to run your application. Please set either APP_MODULE, APP_FILE or APP_SCRIPT environment variables, or create a file 'app.py' to launch your application.