Ask Your Question
0

sage.all is not available; this is a limited REPL. [closed]

asked 2023-09-26 06:54:01 +0200

licheng gravatar image

updated 2023-09-26 07:04:46 +0200

I intend to update the new version of Sage 10.1 on Arch Linux.

sudo pacman -S sagemath

It seems to have installed successfully, but it's showing the following warnings.

│ SageMath version 10.1, Release Date: 2023-08-20                    
│ Using Python 3.11.3. Type "help()" for help.                      


 Warning: sage.all is not available; this is a limited REPL.

I tried the code below, and it's giving me the following error. I'm not sure if there was an issue during the installation, and Sage might not have been installed properly.

sage: count = 0
sage: for g in graphs.nauty_geng("5 -c"):
....:          count += 1
....:          print(count)



NameError                                 Traceback (most recent call last)
Cell In[2], line 1
----> 1 for g in graphs.nauty_geng("5 -c"):
      2          count += Integer(1)
      3          print(count)

NameError: name 'graphs' is not defined

What happened? How can I complete the installation of SageMath in Arch Linux ?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by tmonteil
close date 2023-09-26 11:40:22.286199

1 Answer

Sort by » oldest newest most voted
0

answered 2023-09-26 07:15:30 +0200

licheng gravatar image

updated 2024-05-19 09:47:42 +0200

Sorry. I just run sudo pacman -Syu. Now it works. I guess some software packages need system updates. It may need ldd (GNU libc) 2.38

Sometimes we also need run sudo pacman -S gcc gcc-libs

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2023-09-26 06:54:01 +0200

Seen: 562 times

Last updated: yesterday