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

Issue when launching Jupyter lab #15124

Closed
jenil59 opened this issue Sep 15, 2023 · 3 comments
Closed

Issue when launching Jupyter lab #15124

jenil59 opened this issue Sep 15, 2023 · 3 comments
Labels
bug status:Needs Info status:Needs Triage Applied to new issues that need triage

Comments

@jenil59
Copy link

jenil59 commented Sep 15, 2023

When I am launching the jupyter lab from CMD or ANACONDA .given error shown.
Traceback (most recent call last):
File "C:\ProgramData\anaconda3\Scripts\jupyter-lab-script.py", line 6, in
from jupyterlab.labapp import main
File "C:\ProgramData\anaconda3\lib\site-packages\jupyterlab_init_.py", line 7, in
from .handlers.announcements import ( # noqa
File "C:\ProgramData\anaconda3\lib\site-packages\jupyterlab\handlers\announcements.py", line 14, in
from jupyter_server.base.handlers import APIHandler
File "C:\ProgramData\anaconda3\lib\site-packages\jupyter_server\base\handlers.py", line 21, in
from tornado import escape, httputil, web
File "C:\Users<user>\AppData\Roaming\Python\Python310\site-packages\tornado\httputil.py", line 106, in
class HTTPHeaders(collections.MutableMapping):
AttributeError: module 'collections' has no attribute 'MutableMapping'

suggest what i should do. steps

@jenil59 jenil59 added the bug label Sep 15, 2023
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Sep 15, 2023
@welcome
Copy link

welcome bot commented Sep 15, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@asteppke
Copy link
Contributor

Hi @jenil59

It looks like your python installation is not working as it is supposed to. Your jupyter lab is coming from anaconda installed in C:\ProgramData\anaconda3 whereas the Tornado HTTP server is coming from ...Appdata\Roaming\Python\Python310\....

So I would make sure you do not have any python in your PATH environment variable and then go through the normal conda init steps to setup your environment in a consistent way.

@JasonWeill
Copy link
Contributor

@jenil59 Thanks for your contribution! You can follow our installation instructions here: https://jupyterlab.readthedocs.io/en/latest/getting_started/installation.html . If you notice any additional issues after following the linked guide, please open a new issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug status:Needs Info status:Needs Triage Applied to new issues that need triage
Projects
None yet
Development

No branches or pull requests

3 participants