sagemath : sage test fail
I got the following error while running the sage -t command.
$ sage -t test.py
Traceback (most recent call last):
File "/usr/share/sagemath/bin/sage-runtests", line 178, in <module>
DC = DocTestController(options, args)
File "/usr/lib/python3/dist-packages/sage/doctest/control.py", line 358,
in __init__
for pkg in list_packages('optional', local=True).values():
File "/usr/lib/python3/dist-packages/sage/misc/package.py", line 236, in
list_packages
for p in os.listdir(SAGE_PKGS):
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/share/sagemath/build/pkgs'
I attached the following information about the version:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Python 3.8.10
$ sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 9.0, Release Date: 2020-01-01 │
│ Using Python 3.8.10. Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
sage:
Welcome to Ask Sage! Thank you for your question.
How did you install Sage?
What are you trying to test?
I install Sage by Linux Package Manager : sudo apt install sagemath . It is the implementation of KYBER algorithm: https://github.com/fvirdia/lwe-on-rsa...