First time here? Check out the FAQ!

Ask Your Question
0

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

asked 1 year ago

licheng gravatar image

updated 1 year ago

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 ?

Preview: (hide)

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 1 year ago

licheng gravatar image

updated 0 years ago

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

Preview: (hide)
link

Question Tools

1 follower

Stats

Asked: 1 year ago

Seen: 16,112 times

Last updated: May 19 '24