question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

installation failure on personal server - ubuntu 18.04

See original GitHub issue

installation fails with following error

`Checking

 if TLJH is already installed...
Setting up hub environment
Installed python & virtual environment
Set up hub virtual environment
Setting up TLJH installer...
Setup tljh package
Starting TLJH installer...
Setting up admin users
Granting passwordless sudo to JupyterHub admins...
Setting up user environment...
Downloading & setting up user environment...
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/opt/tljh/hub/lib/python3.6/site-packages/tljh/installer.py", line 455, in <module>
    main()
  File "/opt/tljh/hub/lib/python3.6/site-packages/tljh/installer.py", line 438, in main
    ensure_user_environment(args.user_requirements_txt_url)
  File "/opt/tljh/hub/lib/python3.6/site-packages/tljh/installer.py", line 257, in ensure_user_environment
    'tornado<6.0'
  File "/opt/tljh/hub/lib/python3.6/site-packages/tljh/conda.py", line 133, in ensure_pip_packages
    ] + packages, stderr=subprocess.STDOUT)
  File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/opt/tljh/user/bin/python', '-m', 'pip', 'install', '--no-cache-dir', 'jupyterhub==0.9.5', 'notebook==5.7.7', 'jupyterlab==0.35.4', 'nteract-on-jupyter==2.0.7', 'nbgitpuller==0.6.1', 'nbresuse==0.3.0', 'ipywidgets==7.4.2', 'tornado<6.0']' returned non-zero exit status 1.`

i am installing on ubuntu 18.04 server on ec2 instance

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
frier-samcommented, Apr 10, 2019

if someone wants to install it, you can fork the repo and change the notebook version in tljh/installer.py and change the git repo in bootstrap/bootstrap.py and install or you can use my repo until this is fixed as follows

curl https://raw.githubusercontent.com/frier-sam/the-littlest-jupyterhub/master/bootstrap/bootstrap.py | sudo -E python3 - --admin admin-user

0reactions
willirathcommented, Apr 10, 2019

Removing a version from a package repository as obviously happened with the notebook package is a very rare event. Usually, pinning everything is the way to go if you want stability and reliability. We should continue to do so here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ubuntu server 18.04 install failing - Spiceworks Community
Solution: Check the media you are installing from. Maybe download a new copy and try again?It looks like it is the error is...
Read more >
Ubuntu Server 18.04 install fails
My Ubuntu 64-bit dual-boot installation by USB portable ISO drive had failed To install. I had 100 GB allocated for the latest version,...
Read more >
Using the server installer step by step - Ubuntu
A default Ubuntu install has no open ports. It is very common to administer servers via SSH so the installer allows it to...
Read more >
Installation Failed on linux ubuntu 18.04.5 LTS - Ignition
Hello, I got an error when starting the ignition gateway, below is the line Ignition Successfully Installed The wizard has finished ...
Read more >
Installation error on Ubuntu 18.04 - Progress Community
When trying to install OE 10.2B 32-bit on Ubuntu 18.04 64-bit an error is returned. Steps to Reproduce.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found