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

using error #7402

Closed
willamsc opened this issue Jun 20, 2024 · 3 comments
Closed

using error #7402

willamsc opened this issue Jun 20, 2024 · 3 comments
Labels
bug status:Needs Info status:Needs Triage Applied to issues that need triage

Comments

@willamsc
Copy link

when i use the jupyter notebook . i bit the buttern of launch the production return me.
Traceback (most recent call last):
File "D:\70\anaconda\envs\summer holiday ml\lib\site-packages\notebook\traittypes.py", line 235, in _resolve_classes
klass = self._resolve_string(klass)
File "D:\70\anaconda\envs\summer holiday ml\lib\site-packages\traitlets\traitlets.py", line 2015, in _resolve_string
return import_item(string)
File "D:\70\anaconda\envs\summer holiday ml\lib\site-packages\traitlets\utils\importstring.py", line 33, in import_item
module = import(package, fromlist=[obj])
ModuleNotFoundError: No module named 'jupyter_server.contents'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\70\anaconda\envs\summer holiday ml\Scripts\jupyter-notebook-script.py", line 10, in
sys.exit(main())
File "D:\70\anaconda\envs\summer holiday ml\lib\site-packages\jupyter_core\application.py", line 283, in launch_instance
super().launch_instance(argv=argv, **kwargs)
File "D:\70\anaconda\envs\summer holiday ml\lib\site-packages\traitlets\config\application.py", line 1073, in launch_instance
app = cls.instance(**kwargs)
File "D:\70\anaconda\envs\summer holiday ml\lib\site-packages\traitlets\config\configurable.py", line 583, in instance
inst = cls(*args, **kwargs)
File "D:\70\anaconda\envs\summer holiday ml\lib\site-packages\traitlets\traitlets.py", line 1292, in new
inst.setup_instance(*args, **kwargs)
File "D:\70\anaconda\envs\summer holiday ml\lib\site-packages\traitlets\traitlets.py", line 1335, in setup_instance
super(HasTraits, self).setup_instance(*args, **kwargs)
File "D:\70\anaconda\envs\summer holiday ml\lib\site-packages\traitlets\traitlets.py", line 1311, in setup_instance
init(self)
File "D:\70\anaconda\envs\summer holiday ml\lib\site-packages\notebook\traittypes.py", line 226, in instance_init
self._resolve_classes()
File "D:\70\anaconda\envs\summer holiday ml\lib\site-packages\notebook\traittypes.py", line 238, in _resolve_classes
warn(f"{klass} is not importable. Is it installed?", ImportWarning)
TypeError: warn() missing 1 required keyword-only argument: 'stacklevel'

@willamsc willamsc added bug status:Needs Triage Applied to issues that need triage labels Jun 20, 2024
@RRosio
Copy link
Collaborator

RRosio commented Jun 25, 2024

Thank you @willamsc for opening this issue! Are you using the Anaconda prompt? Also could you share the versions you are using for: Jupyter Notebook, Windows and Python?

@willamsc
Copy link
Author

willamsc commented Jun 26, 2024 via email

@RRosio
Copy link
Collaborator

RRosio commented Jul 2, 2024

Thank you for the update @willamsc! I will close this as completed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status:Needs Info status:Needs Triage Applied to issues that need triage
Projects
None yet
Development

No branches or pull requests

2 participants