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

Error when running JupyterLab on 1.0.0-beta #98

Closed
dlqqq opened this issue Oct 19, 2023 · 2 comments
Closed

Error when running JupyterLab on 1.0.0-beta #98

dlqqq opened this issue Oct 19, 2023 · 2 comments

Comments

@dlqqq
Copy link
Contributor

dlqqq commented Oct 19, 2023

I'm seeing an error when running JupyterLab on the 1.0.0-beta container:

$ jupyter lab
[E 2023-10-19 19:12:48.722 ServerApp] Exception while loading config file /etc/jupyter/jupyter_server_config.py
    Traceback (most recent call last):
      File "/opt/conda/lib/python3.10/site-packages/traitlets/config/application.py", line 915, in _load_config_files
        config = loader.load_config()
      File "/opt/conda/lib/python3.10/site-packages/traitlets/config/loader.py", line 627, in load_config
        self._read_file_as_dict()
      File "/opt/conda/lib/python3.10/site-packages/traitlets/config/loader.py", line 660, in _read_file_as_dict
        exec(compile(f.read(), conf_filename, "exec"), namespace, namespace)  # noqa
      File "/etc/jupyter/jupyter_server_config.py", line 4, in <module>
        from nb_conda_kernels import CondaKernelSpecManager
    ModuleNotFoundError: No module named 'nb_conda_kernels'
...

The server is still able to start, and extensions still appear to be getting loaded & initialized correctly.

I believe this error is due to changes to the default JL config in #76. The default Conda base environment in the image does not have nb_conda_kernels installed. It's also unclear how this dependency is being used, and whether it should be used at all, given that the package has not been updated in nearly 3 years.

@ketan-vijayvargiya
Copy link
Contributor

@dlqqq @zuoyuanh - Is this issue still relevant? Or is it already fixed?

@claytonparnell
Copy link
Contributor

Irrelevant nb_conda_kernels import was removed in #125. Going to go ahead and close this as it's been resolved.

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

3 participants