Need steps and procedure to avoid the problem of launching Jupyter-notebook at event later times.
Unexpected behavior observed with launching of “jupyter-notebook and jupyter notebook” command:
box@box-virtual-machine:~/python_programs$ jupyter notebook
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/notebook/traittypes.py”, line 232, in _resolve_classes
klass = self._resolve_string(klass)
File “/home/box/.local/lib/python3.10/site-packages/traitlets/traitlets.py”, line 2018, in _resolve_string
return import_item(string)
File “/home/box/.local/lib/python3.10/site-packages/traitlets/utils/importstring.py”, line 31, in import_item
module = import(package, fromlist=[obj])
ModuleNotFoundError: No module named ‘jupyter_server.contents’
the enforcement of strong typing for attributes of Python objects (typed attributes are called “traits”);
dynamically calculated default values;
automatic validation and coercion of trait attributes when attempting a change;
registering for receiving notifications when trait values change;
reading configuring values from files or from command line arguments - a distinct layer on top of traitlets, so you may use traitlets without the configuration machinery.
After reverting from 5.10.0 to 5.9.0 , jupyter notebook got launched