Relative Content

Tag Archive for jupyter-notebook

Jupyter notebook file not getting saved

The jupyter notebook file gets saved for the code written in the first few minutes only. Any code written after that does not get saved and gives me this error everytime. I have tried restarting Kernel, uninstalling and reinstalling Python and Jupyter notebook but the problem still remains.

Docstring on bottom panel (Shift+Tab 4x) not showing

I recall that Shift+Tab: View the docstring for a function. Hit Shift+Tab three more times to open the docstring in a new pane. Is the Shift+Tab 4x no longer pulling up the docstring on a new bottom panel?

Jupyter Notebook cannot open

/Users/elliewu/opt/anaconda3/bin/jupyter_mac.command ; exit;
(base) elliewu@Ellies-MBP ~ % /Users/elliewu/opt/anaconda3/bin/jupyter_mac.command ; exit;
Traceback (most recent call last):
File “/Users/elliewu/opt/anaconda3/lib/python3.9/site-packages/notebook/traittypes.py”, line 232, in _resolve_classes
klass = self._resolve_string(klass)
File “/Users/elliewu/opt/anaconda3/lib/python3.9/site-packages/traitlets/traitlets.py”, line 2015, in _resolve_string
return import_item(string)
File “/Users/elliewu/opt/anaconda3/lib/python3.9/site-packages/traitlets/utils/importstring.py”, line 33, in import_item
module = import(package, fromlist=[obj])
ModuleNotFoundError: No module named ‘jupyter_server.contents’