This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Description I'm running JupyterLab through AWS SageMaker. I've downloaded the dash-sample-apps repository and modified a couple of the app.py files with:
import jupyterlab_dash
viewer = jupyterlab_dash .AppViewer ()
viewer .show (app )
When I run one of these sample apps from a jupyterlab cell like this:
%run -i '/home/ec2-user/SageMaker/dash-sample-apps/apps/dash-live-model-training/app.py'
The Dash pane pops up, and the app loads, but only partially. Very simple apps seem to load in their entirety, but more complicated graphics don't get displayed.
Here are two examples of partial loading:
And here is my pip freeze:
absl-py==0.7.1
aiohttp==3.5.4
alabaster==0.7.10
alembic==1.0.11
anaconda-client==1.6.14
anaconda-project==0.8.2
asn1crypto==0.24.0
astor==0.7.1
astroid==1.6.3
astropy==3.0.2
async-generator==1.10
async-timeout==3.0.1
attrs==18.1.0
Automat==0.3.0
autovizwidget==0.12.9
awscli==1.16.135
Babel==2.5.3
backcall==0.1.0
backports.shutil-get-terminal-size==1.0.0
bcrypt==3.1.6
beautifulsoup4==4.6.0
bitarray==0.8.1
bkcharts==0.2
blaze==0.11.3
bleach==2.1.3
bokeh==1.3.0
boto==2.48.0
boto3==1.9.196
botocore==1.12.196
Bottleneck==1.2.1
cached-property==1.5.1
certifi==2019.3.9
cffi==1.11.5
characteristic==14.3.0
chardet==3.0.4
click==6.7
cloudpickle==0.5.3
clyent==1.2.2
colorama==0.3.9
colorlover==0.3.0
contextlib2==0.5.5
crcmod==1.7
cryptography==2.3.1
cycler==0.10.0
Cython==0.28.4
cytoolz==0.9.0.1
dash==1.0.2
dash-core-components==1.0.0
dash-daq==0.1.0
dash-html-components==1.0.0
dash-player==0.0.1
dash-renderer==1.0.0
dash-table==4.0.2
dask==0.17.5
datashape==0.5.4
decorator==4.3.0
defusedxml==0.5.0
distributed==1.21.8
docker==3.7.0
docker-compose==1.24.1
docker-pycreds==0.4.0
dockerpty==0.4.1
docopt==0.6.2
docutils==0.14
entrypoints==0.2.3
environment-kernels==1.1.1
et-xmlfile==1.0.1
fastcache==1.0.2
filelock==3.0.4
Flask==1.0.2
Flask-Compress==1.4.0
Flask-Cors==3.0.4
fuckit==4.8.1
gast==0.2.2
gevent==1.3.0
glob2==0.6
gmpy2==2.0.8
google-pasta==0.1.7
greenlet==0.4.13
grpcio==1.10.1
h5py==2.8.0
hdijupyterutils==0.12.7
heapdict==1.0.0
horovod==0.16.1
html5lib==1.0.1
idna==2.6
idna-ssl==1.1.0
imageio==2.3.0
imagesize==1.0.0
imgaug==0.2.9
ipykernel==4.8.2
ipyparallel==6.2.2
ipython==7.7.0
ipython-genutils==0.2.0
ipywidgets==7.5.0
isort==4.3.4
itsdangerous==0.24
jdcal==1.4
jedi==0.12.0
Jinja2==2.10
jmespath==0.9.4
json5==0.8.5
jsonschema==3.0.1
jupyter==1.0.0
jupyter-client==5.3.1
jupyter-console==5.2.0
jupyter-core==4.4.0
jupyter-server-proxy==1.1.0
jupyterhub==0.9.4
jupyterlab==1.0.4
jupyterlab-dash==0.1.0a3
jupyterlab-launcher==0.10.5
jupyterlab-server==1.0.0
Keras==2.2.4
Keras-Applications==1.0.8
Keras-Preprocessing==1.0.9
kiwisolver==1.0.1
lazy-object-proxy==1.3.1
llvmlite==0.23.1
locket==0.2.0
lxml==4.2.1
Mako==1.0.14
Markdown==3.1
MarkupSafe==1.0
matplotlib==2.2.2
mccabe==0.6.1
mistune==0.8.3
mkl-fft==1.0.0
mkl-random==1.0.1
mock==3.0.5
more-itertools==4.1.0
mpmath==1.0.0
msgpack==0.6.0
msgpack-python==0.5.6
multidict==4.5.2
multipledispatch==0.5.0
nb-conda==2.2.1
nb-conda-kernels==2.2.1
nbconvert==5.4.1
nbformat==4.4.0
networkx==2.1
nltk==3.3
nose==1.3.7
notebook==6.0.0
numba==0.38.0
numexpr==2.6.5
numpy==1.17.0
numpydoc==0.8.0
odo==0.5.1
olefile==0.45.1
opencv-python==4.1.0.25
opencv-python-headless==4.1.0.25
openpyxl==2.5.3
opt-einsum==2.3.2
packaging==17.1
pamela==1.0.0
pandas==0.22.0
pandocfilters==1.4.2
paramiko==2.4.2
parso==0.2.0
partd==0.3.8
path.py==11.0.1
pathlib2==2.3.2
patsy==0.5.0
pep8==1.7.1
pexpect==4.5.0
pickleshare==0.7.4
Pillow==6.1.0
Pillow-SIMD==6.0.0.post0
pipdeptree==0.13.2
pkginfo==1.4.2
plotly==3.2.1
pluggy==0.6.0
ply==3.11
prometheus-client==0.7.1
prompt-toolkit==2.0.9
protobuf==3.6.1
protobuf3-to-dict==0.1.5
psutil==5.4.5
psycopg2==2.7.5
ptyprocess==0.5.2
py==1.5.3
py4j==0.10.7
pyasn1==0.4.5
pycodestyle==2.4.0
pycosat==0.6.3
pycparser==2.18
pycrypto==2.6.1
pycurl==7.43.0.1
pyflakes==1.6.0
pygal==2.4.0
Pygments==2.2.0
pykerberos==1.2.1
pylint==1.8.4
PyNaCl==1.3.0
pyodbc==4.0.23
pyOpenSSL==18.0.0
pyparsing==2.2.0
pyrsistent==0.15.3
PySocks==1.6.8
pyspark==2.3.2
pytest==3.5.1
pytest-arraydiff==0.2
pytest-astropy==0.3.0
pytest-doctestplus==0.1.3
pytest-openfiles==0.3.0
pytest-remotedata==0.2.1
python-dateutil==2.7.3
python-editor==1.0.4
python-oauth2==1.1.1
python-voc-parser==1.0.0
pytz==2018.4
PyWavelets==0.5.2
PyYAML==5.1.1
pyzmq==17.0.0
QtAwesome==0.4.4
qtconsole==4.3.1
QtPy==1.4.1
requests==2.20.1
requests-kerberos==0.12.0
retrying==1.3.3
rope==0.10.7
rsa==3.4.2
ruamel-yaml==0.15.35
s3fs==0.1.5
s3transfer==0.2.0
sagemaker==1.34.2
sagemaker-pyspark==1.2.4
scikit-image==0.15.0
scikit-learn==0.20.3
scipy==1.1.0
seaborn==0.8.1
Send2Trash==1.5.0
Shapely==1.6.4.post2
simpervisor==0.3
simplegeneric==0.8.1
singledispatch==3.4.0.3
six==1.11.0
snowballstemmer==1.2.1
sortedcollections==0.6.1
sortedcontainers==1.5.10
sparkmagic==0.12.5
Sphinx==1.7.4
sphinxcontrib-websupport==1.0.1
spyder==3.2.8
SQLAlchemy==1.2.11
statsmodels==0.9.0
sympy==1.1.1
tables==3.4.3
tblib==1.3.2
tensorboard==1.10.0
tensorflow-gpu==1.10.1
termcolor==1.1.0
terminado==0.8.1
testpath==0.3.1
texttable==0.9.1
toolz==0.9.0
torch==1.1.0
tornado==5.1.1
tqdm==4.32.2
traitlets==4.3.2
typing==3.6.4
typing-extensions==3.7.4
unicodecsv==0.14.1
urllib3==1.23
wcwidth==0.1.7
webencodings==0.5.1
websocket-client==0.55.0
Werkzeug==0.14.1
widgetsnbextension==3.5.0
wrapt==1.11.2
xlrd==1.1.0
XlsxWriter==1.0.4
xlwt==1.3.0
yarl==1.3.0
zict==0.1.3
Any idea why this is occurring?
Reactions are currently unavailable
I'm running JupyterLab through AWS SageMaker. I've downloaded the dash-sample-apps repository and modified a couple of the app.py files with:
When I run one of these sample apps from a jupyterlab cell like this:
%run -i '/home/ec2-user/SageMaker/dash-sample-apps/apps/dash-live-model-training/app.py'The Dash pane pops up, and the app loads, but only partially. Very simple apps seem to load in their entirety, but more complicated graphics don't get displayed.
Here are two examples of partial loading:
And here is my
pip freeze:Any idea why this is occurring?