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 ?