Error installing jupyterhub (TLJH): AssertionError

Hello

I followed the instructions on: Install the littlest jupyter hub on your own server, but during the installation process in step 1.3, using the command curl -L https://tljh.jupyter.org/bootstrap.py | sudo -E python3 - --admin <admin-user-name>, I encountered the following error:

Downloaded conda installer https://github.com/conda-forge/miniforge/releases/download/23.1.0-1/Mambaforge-23.1.0-1-Linux-x86_64.sh in 10.3s
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/opt/tljh/hub/lib/python3.10/site-packages/tljh/installer.py", line 556, in <module>
    main()
  File "/opt/tljh/hub/lib/python3.10/site-packages/tljh/installer.py", line 531, in main
    ensure_user_environment(args.user_requirements_txt_url)
  File "/opt/tljh/hub/lib/python3.10/site-packages/tljh/installer.py", line 209, in ensure_user_environment
    assert "conda" in package_versions
AssertionError

Iā€™m using Ubuntu 22.04LTS

1 Like

Was this a fresh installation on a VM, or did you have something since before?

1 Like