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

How to isntall Temsorboard extension to Jupyter Lab on AWS EC2? #37

Open
stromal opened this issue Jun 7, 2021 · 0 comments
Open

How to isntall Temsorboard extension to Jupyter Lab on AWS EC2? #37

stromal opened this issue Jun 7, 2021 · 0 comments

Comments

@stromal
Copy link

stromal commented Jun 7, 2021

I want to isntall Temsorboard to Jupyter lab on AWS EC2 but it just doesent works.
I have similar issue to this post.

My issue that I do not want to open up the firewall as some people recommended, because of security concerns. So that answer is not resolving my situation. And I don't see why it cant do any of this because I can download, install, delete, update any packages in general with anaconda and overall the firewall doesent seems to be negatively impacting everywhere else.

Environment

  • EC2 environment
  • Ubuntu 18.04
  • SageMaker instance
  • Anaconda environment

I constantly have this problem that no extension gets installed and works from the extensions. ex.: in the GUI I searched for tensorboard click to install than

Build Recommended
JupyterLab build is suggested:
jupyterlab_tensorboard needs to be included in build

clicked on BUILD

output Build failed with 500, please run 'jupyter lab build' on the server for full output

input: jupyter lab build

OUT:

[LabBuildApp] JupyterLab 1.2.6
[LabBuildApp] Building in /home/ubuntu/anaconda3/share/jupyter/lab
[LabBuildApp] Building jupyterlab assets (build:prod:minimize)
An error occured.
RuntimeError: npm dependencies failed to install
See the log file for details:  /tmp/jupyterlab-debug-lctnnmuf.log

Error message log:

nano /tmp/jupyterlab-debug-f61pajsv.log

output:

[LabBuildApp] Building in /home/ubuntu/anaconda3/share/jupyter/lab
[LabBuildApp] Yarn configuration loaded.
[LabBuildApp] Node v6.13.1

[LabBuildApp] Building jupyterlab assets (build:prod:minimize)
[LabBuildApp] > node /home/ubuntu/anaconda3/lib/python3.7/site-packages/jupyterlab/staging/yarn.js install --non-int$
[LabBuildApp] yarn install v1.15.2
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=8.3.0". Got "6.13.1"
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

[LabBuildApp] npm dependencies failed to install
[LabBuildApp] Traceback (most recent call last):

[LabBuildApp]   File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/jupyterlab/debuglog.py", line 47, in debug_$
    yield

[LabBuildApp]   File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/jupyterlab/labapp.py", line 98, in start
    command=command, app_options=app_options)

[LabBuildApp]   File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/jupyterlab/commands.py", line 459, in build
    command=command, clean_staging=clean_staging)

[LabBuildApp]   File "/home/ubuntu/anaconda3/lib/python3.7/site-packages/jupyterlab/commands.py", line 660, in build
    raise RuntimeError(msg)

[LabBuildApp] RuntimeError: npm dependencies failed to install

[LabBuildApp] Exiting application: JupyterLab

IN: sudo jupyter lab build

OUT:

Traceback (most recent call last):
  File "/usr/local/bin/jupyter", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/dist-packages/jupyter_core/command.py", line 285, in main
    command = _jupyter_abspath(subcommand)
  File "/usr/local/lib/python3.6/dist-packages/jupyter_core/command.py", line 125, in _jupyter_abspath
    'Jupyter command `{}` not found.'.format(jupyter_subcommand)
Exception: Jupyter command `jupyter-lab` not found.
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

1 participant