Thank you dear Kevin
I made these changes, however after that I did not have any python console.
The terminal sequence is a bit cryptic for me, however I put it here:
(base) joerg@primergy:~$ jupyter notebook
[I 19:26:02.446 NotebookApp] JupyterLab extension loaded from /home/joerg/anaconda3/lib/python3.8/site-packages/jupyterlab
[I 19:26:02.446 NotebookApp] JupyterLab application directory is /home/joerg/anaconda3/share/jupyter/lab
[I 19:26:02.449 NotebookApp] Serving notebooks from local directory: /home/joerg
[I 19:26:02.449 NotebookApp] Jupyter Notebook 6.1.4 is running at:
*[I 19:26:02.450 NotebookApp] a link *
[…]
[I 19:26:02.450 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
*[C 19:26:02.479 NotebookApp] *
-
- To access the notebook, open this file in a browser:*
-
a link* - Or copy and paste one of these URLs:*
-
a link* -
or a link*
[W 19:26:06.094 NotebookApp] Error loading kernelspec ‘python3’
*** Traceback (most recent call last):***
-
File "/home/joerg/anaconda3/lib/python3.8/site-packages/jupyter_client/kernelspec.py", line 257, in get_all_specs* -
spec = self._get_kernel_spec_by_name(kname, resource_dir)* -
File "/home/joerg/anaconda3/lib/python3.8/site-packages/jupyter_client/kernelspec.py", line 200, in _get_kernel_spec_by_name* -
return self.kernel_spec_class.from_resource_dir(resource_dir)* -
File "/home/joerg/anaconda3/lib/python3.8/site-packages/jupyter_client/kernelspec.py", line 46, in from_resource_dir* -
kernel_dict = json.load(f)* -
File "/home/joerg/anaconda3/lib/python3.8/json/__init__.py", line 293, in load* -
return loads(fp.read(),* -
File "/home/joerg/anaconda3/lib/python3.8/json/__init__.py", line 357, in loads* -
return _default_decoder.decode(s)* -
File "/home/joerg/anaconda3/lib/python3.8/json/decoder.py", line 337, in decode* -
obj, end = self.raw_decode(s, idx=_w(s, 0).end())* -
File "/home/joerg/anaconda3/lib/python3.8/json/decoder.py", line 353, in raw_decode* -
obj, end = self.scan_once(s, idx)* - json.decoder.JSONDecodeError: Expecting ‘,’ delimiter: line 11 column 2 (char 169)*
[I 19:27:11.899 NotebookApp] Uploading file to /pathContent-checkpoint.ipynb
*[I 19:27:41.626 NotebookApp] Creating new file in *
[W 19:27:52.676 NotebookApp] Forbidden
[W 19:27:52.677 NotebookApp] 403 GET /api/sessions?_=1609698365735 (::1) 1.71ms referer=a link
[W 19:27:52.678 NotebookApp] Forbidden
[W 19:27:52.679 NotebookApp] 403 GET /api/terminals?_=1609698365736 (::1) 1.80ms referer=a link
[W 19:28:00.758 NotebookApp] Forbidden
[W 19:28:00.759 NotebookApp] 403 POST /api/terminals (::1) 1.45ms referer=a link
[I 19:28:00.761 NotebookApp] 302 GET /tree (::1) 1.06ms
[W 19:28:07.404 NotebookApp] Forbidden
[W 19:28:07.405 NotebookApp] 403 GET /api/sessions?_=1609698365737 (::1) 1.68ms referer=a link
[W 19:28:07.405 NotebookApp] Forbidden
[W 19:28:07.406 NotebookApp] 403 GET /api/terminals?_=1609698365738 (::1) 1.70ms referer=a link
[W 19:28:14.706 NotebookApp] Forbidden
[W 19:28:14.707 NotebookApp] 403 GET /api/contents?type=directory&_=1609698365739 (::1) 1.38ms referer=a link
[W 19:28:23.561 NotebookApp] Forbidden
[W 19:28:23.562 NotebookApp] 403 GET /api/contents?type=directory&_=1609698365740 (::1) 1.51ms referer=a link
^C[I 19:28:37.304 NotebookApp] interrupted
Serving notebooks from local directory: /home/joerg
0 active kernels
Jupyter Notebook 6.1.4 is running at:
a link - or a link*
Shutdown this notebook server (y/[n])? y
[C 19:28:39.967 NotebookApp] Shutdown confirmed
[I 19:28:39.967 NotebookApp] Shutting down 0 kernels
[I 19:28:39.968 NotebookApp] Shutting down 0 terminals
Moreover: after starting the console (a new one) I could not find the button for Python 3 … only “text” and two other entries.
the changed JSON-file as follows:
{
“argv”: [
“/home/joerg/anaconda3/bin/python”,
“-m”,
“ipykernel_launcher”,
“-f”,
“{connection_file}”
],
“display_name”: “Python 3”,
“language”: “python”
“env”: {
“PYTHONPATH”: “{PYTHONPATH}:{HOME}/kpdocs/AGW/Pierrehumbert”
}
}
Then I logged out and now: the so called “credentials” are not accepted. What are those?
Can you help me a bit to proceed further?
jörg
PS: after now restarting j notebook:
the screen in the upper right corner says:
- Other:
- [Text File]
- [Folder]
- [Terminal]