I have just installed version 10.0 from source (in Debian Sid).  Everything 
seems to work fine, but the usual method to add Sage to Jupyter Lab does 
not work.

I created a symlink as usual:

$ ll /home/finotti/.local/share/jupyter/kernels 
Permissions Size User    Group   Date Modified Name 
drwxr-xr-x     - finotti finotti 28 Mar 13:20  magma/ 
drwxr-xr-x     - finotti finotti 28 Mar 11:38  python3/ 
lrwxrwxrwx    62 finotti finotti 28 Mar 13:19  sage -> 
/home/finotti/src/sage-9.8/venv/share/jupyter/kernels/sagemath/ 
lrwxrwxrwx    63 finotti finotti 29 May 10:31  sage-10.0 -> 
/home/finotti/src/sage-10.0/venv/share/jupyter/kernels/sagemath/

Sage 9.8 works as expected, but 10.0's kernel does not work.

Here are some of the error messages:

[I 2023-05-29 10:39:03.537 ServerApp] Kernel started: 
b57d96c5-8f23-4b05-abbd-abd4aa480f5b 
Traceback (most recent call last): 
 File "<frozen runpy>", line 198, in _run_module_as_main 
 File "<frozen runpy>", line 88, in _run_code 
 File 
"/home/finotti/src/sage-10.0/src/sage/repl/ipython_kernel/__main__.py", 
line 3, in <module> 
   IPKernelApp.launch_instance(kernel_class=SageKernel) 
 File 
"/home/finotti/src/sage-10.0/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/traitlets/config/application.py",
 
line 981, in launch_instance 
   app.initialize(argv) 
 File 
"/home/finotti/src/sage-10.0/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/traitlets/config/application.py",
 
line 110, in inner 
   return method(app, *args, **kwargs) 
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
 File 
"/home/finotti/src/sage-10.0/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/ipykernel/kernelapp.py",
 
line 647, in initialize 
   self.init_kernel() 
 File 
"/home/finotti/src/sage-10.0/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/ipykernel/kernelapp.py",
 
line 499, in init_kernel 
   kernel = kernel_factory(parent=self, session=self.session, 
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
 File 
"/home/finotti/src/sage-10.0/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/traitlets/config/configurable.py",
 
line 551, in instance 
   inst = cls(*args, **kwargs) 
          ^^^^^^^^^^^^^^^^^^^^ 
 File "/home/finotti/src/sage-10.0/src/sage/repl/ipython_kernel/kernel.py", 
line 52, in __init__ 
   SageJupyterCustomizations(self.shell) 
 File "/home/finotti/src/sage-10.0/src/sage/repl/ipython_extension.py", 
line 445, in __init__ 
   self.init_environment() 
 File "/home/finotti/src/sage-10.0/src/sage/repl/ipython_extension.py", 
line 478, in init_environment 
   initialize_globals(self.all_globals(), self.shell.user_ns) 
                      ^^^^^^^^^^^^^^^^^^ 
 File "/home/finotti/src/sage-10.0/src/sage/repl/ipython_extension.py", 
line 581, in all_globals 
   from .ipython_kernel import all_jupyter 
 File 
"/home/finotti/src/sage-10.0/src/sage/repl/ipython_kernel/all_jupyter.py", 
line 5, in <module> 
   from sage.all_cmdline import * 
 File "/home/finotti/src/sage-10.0/src/sage/all_cmdline.py", line 17, in 
<module> 
   from sage.all import * 
 File "/home/finotti/src/sage-10.0/src/sage/all.py", line 91, in <module> 
   from sage.algebras.all   import * 
 File "/home/finotti/src/sage-10.0/src/sage/algebras/all.py", line 21, in 
<module> 
   import sage.algebras.catalog as algebras 
 File "/home/finotti/src/sage-10.0/src/sage/algebras/catalog.py", line 86, 
in <module> 
   from sage.algebras.quatalg.quaternion_algebra import QuaternionAlgebra 
as Quaternion 
 File 
"/home/finotti/src/sage-10.0/src/sage/algebras/quatalg/quaternion_algebra.py", 
line 73, in <module> 
   from . import quaternion_algebra_cython 
 File "sage/algebras/quatalg/quaternion_algebra_cython.pyx", line 1, in 
init sage.algebras.quatalg.quaternion_algebra_cython 
   # distutils: language = c++ 
 File "sage/matrix/matrix_integer_dense.pyx", line 1, in init 
sage.matrix.matrix_integer_dense 
   # -*- coding: utf-8 -*- 
ImportError: 
/home/finotti/src/sage-10.0/src/sage/matrix/matrix_modn_dense_float.cpython-311-x86_64-linux-gnu.so:
 
undefined symbol: _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char
_traitsIcESaIcEEEB5cxx11Ev

Any ideas on what is wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/76a6b1ea-318a-4848-a30a-45469bb7bd24n%40googlegroups.com.

Reply via email to