Hi,
Just installed Python for the first time (not quite true, tried on another machine with same result), and following a tutorial using Jupyter Notebooks.
It appears the server is running ok, although opening the browser does seem slow.
- The ^New drop down does not show Python as an option, as does the tutorial
- If I choose New > Notebook, I am prompted to select a kernel, Python 3 (ipykernel) is shown. Selecting this, a new notebook opens, but the first line (do you call it a cell?) only shows two square brackets [ ], it does not show In [ ], as absolutely all youtube videos seem to have, also the tutorial I am following.
Did my install miss something?
C:\WINDOWS\system32>jupyter --version
Selected Jupyter core packagesâŚ
IPython : 8.20.0
ipykernel : 6.29.0
ipywidgets : not installed
jupyter_client : 8.6.0
jupyter_core : 5.7.1
jupyter_server : 2.12.5
jupyterlab : 4.0.11
nbclient : 0.9.0
nbconvert : 7.14.2
nbformat : 5.9.2
notebook : 7.0.7
qtconsole : not installed
traitlets : 5.14.1
C:\WINDOWS\system32>python --version
Python 3.12.1
C:\WINDOWS\system32>pip3 --version
pip 23.3.2 from C:\Users\chrizk\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip (python 3.12)
[W 2024-01-29 15:23:48.499 ServerApp] A _jupyter_server_extension_points
function was not found in notebook_shim. Instead, a _jupyter_server_extension_paths
function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[I 2024-01-29 15:23:48.501 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2024-01-29 15:23:48.509 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2024-01-29 15:23:48.520 ServerApp] jupyterlab | extension was successfully linked.
[I 2024-01-29 15:23:48.529 ServerApp] notebook | extension was successfully linked.
[I 2024-01-29 15:23:49.371 ServerApp] notebook_shim | extension was successfully linked.
[I 2024-01-29 15:23:49.459 ServerApp] notebook_shim | extension was successfully loaded.
[I 2024-01-29 15:23:49.462 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2024-01-29 15:23:49.462 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2024-01-29 15:23:49.469 LabApp] JupyterLab extension loaded from C:\Users\chrizk\AppData\Local\Programs\Python\Python312\Lib\site-packages\jupyterlab
[I 2024-01-29 15:23:49.469 LabApp] JupyterLab application directory is C:\Users\chrizk\AppData\Local\Programs\Python\Python312\share\jupyter\lab
[I 2024-01-29 15:23:49.471 LabApp] Extension Manager is âpypiâ.
[I 2024-01-29 15:23:49.473 ServerApp] jupyterlab | extension was successfully loaded.
[I 2024-01-29 15:23:49.482 ServerApp] notebook | extension was successfully loaded.
[I 2024-01-29 15:23:49.485 ServerApp] Serving notebooks from local directory: C:\Users\chrizk\OneDrive - Virgin Media#Useful
[I 2024-01-29 15:23:49.485 ServerApp] Jupyter Server 2.12.5 is running at:
[I 2024-01-29 15:23:49.485 ServerApp] http://localhost:8888/tree?token=adasdasasdddddddddd
[I 2024-01-29 15:23:49.486 ServerApp] http://127.0.0.1:8888/tree?token=adasdasasdddddddddd
[I 2024-01-29 15:23:49.486 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2024-01-29 15:23:49.597 ServerApp]
To access the server, open this file in a browser:
file:///C:/Users/chrizk/AppData/Roaming/jupyter/runtime/jpserver-12600-open.html
Or copy and paste one of these URLs:
http://localhost:8888/tree?token=adasdasasdddddddddd
http://127.0.0.1:8888/tree?token=adasdasasdddddddddd
[I 2024-01-29 15:23:49.871 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.01s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[E 2024-01-29 15:24:16.100 ServerApp] Uncaught exception GET /api/contents?content=1&1706541855728 (127.0.0.1)
HTTPServerRequest(protocol=âhttpâ, host=âlocalhost:8888â, method=âGETâ, uri=â/api/contents?content=1&1706541855728â, version=âHTTP/1.1â, remote_ip=â127.0.0.1â)
Traceback (most recent call last):
File âC:\Users\chrizk\AppData\Local\Programs\Python\Python312\Lib\site-packages\tornado\web.pyâ, line 1790, in _execute
result = await result