SageMaths doesn't work any more in Jupyter [closed]

asked 2021-11-17 04:29:08 +0100

ErWinz gravatar image

hi after long manips to try to open my .ipynb by double click in some other place than my default web browser… i have left and returned back to a simple way (opening SageMaths.app, choosing Jupyter) but now my .ipynb do not work any longer so i can not work… it indicates a kernel error with this :

Traceback (most recent call last):
  File "/var/tmp/sage-9.4-current/local/lib/python3.9/site-packages/tornado/web.py", line 1703, in _execute
    result = await result
  File "/var/tmp/sage-9.4-current/local/lib/python3.9/site-packages/tornado/gen.py", line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File "/var/tmp/sage-9.4-current/local/lib/python3.9/site-packages/notebook/services/sessions/handlers.py", line 69, in post
    model = yield maybe_future(
  File "/var/tmp/sage-9.4-current/local/lib/python3.9/site-packages/tornado/gen.py", line 735, in run
    value = future.result()
  File "/var/tmp/sage-9.4-current/local/lib/python3.9/site-packages/tornado/gen.py", line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File "/var/tmp/sage-9.4-current/local/lib/python3.9/site-packages/notebook/services/sessions/sessionmanager.py", line 88, in create_session
    kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
  File "/var/tmp/sage-9.4-current/local/lib/python3.9/site-packages/tornado/gen.py", line 735, in run
    value = future.result()
  File "/var/tmp/sage-9.4-current/local/lib/python3.9/site-packages/tornado/gen.py", line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File "/var/tmp/sage-9.4-current/local/lib/python3.9/site-packages/notebook/services/sessions/sessionmanager.py", line 100, in start_kernel_for_session
    kernel_id = yield maybe_future(
  File "/var/tmp/sage-9.4-current/local/lib/python3.9/site-packages/tornado/gen.py", line 735, in run
    value = future.result()
  File "/var/tmp/sage-9.4-current/local/lib/python3.9/site-packages/notebook/services/kernels/kernelmanager.py", line 176, in start_kernel
    kernel_id = await maybe_future(self.pinned_superclass.start_kernel(self, **kwargs))
  File "/var/tmp/sage-9.4-current/local/lib/python3.9/site-packages/jupyter_client/multikernelmanager.py", line 186, in start_kernel
    km.start_kernel(**kwargs)
  File "/var/tmp/sage-9.4-current/local/lib/python3.9/site-packages/jupyter_client/manager.py", line 308, in start_kernel
    self.kernel = self._launch_kernel(kernel_cmd, **kw)
  File "/var/tmp/sage-9.4-current/local/lib/python3.9/site-packages/jupyter_client/manager.py", line 215, in _launch_kernel
    return launch_kernel(kernel_cmd, **kw)
  File "/var/tmp/sage-9.4-current/local/lib/python3.9/site-packages/jupyter_client/launcher.py", line 135, in launch_kernel
    proc = Popen(cmd, **kwargs)
  File "/var/tmp/sage-9.4-current/local/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/var/tmp/sage-9.4-current/local/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/sage-jc4b6yulaujayb9sr94ia88eourzeqip0oidmas3/local/bin/sage'

if you have any idea…

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by ErWinz
close date 2021-11-17 04:32:55.939741

Comments

1

Where is the bloody answer ?

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2021-11-17 09:44:25 +0100 )edit