如何在Ubuntu 20.04上安装Sagemath?

JaakkoSeppälä

为什么在Ubuntu上Sagemath的安装失败?我试过了

jaakko@jaakko-Aspire-E1-572:~$ sudo apt install sagemath-common
[sudo] password for jaakko: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  sagemath-common
0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
Need to get 16,2 MB of archives.
After this operation, 205 MB of additional disk space will be used.
Get:1 http://fi.archive.ubuntu.com/ubuntu focal/universe amd64 sagemath-common all 9.0-1ubuntu4 [16,2 MB]
Fetched 16,2 MB in 4s (3 888 kB/s)            
Selecting previously unselected package sagemath-common.
(Reading database ... 216481 files and directories currently installed.)
Preparing to unpack .../sagemath-common_9.0-1ubuntu4_all.deb ...
Unpacking sagemath-common (9.0-1ubuntu4) ...
Setting up sagemath-common (9.0-1ubuntu4) ...
/usr/lib/python3/dist-packages/sage/combinat/root_system/branching_rules.py:1753
: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(stypes) is not 2:
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1159: SyntaxWarning: '
str' object is not callable; perhaps you missed a comma?
  raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1168: SyntaxWarning: '
str' object is not callable; perhaps you missed a comma?
  raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1175: SyntaxWarning: '
str' object is not callable; perhaps you missed a comma?
  raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1182: SyntaxWarning: '
str' object is not callable; perhaps you missed a comma?
  raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1189: SyntaxWarning: '
str' object is not callable; perhaps you missed a comma?
  raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1196: SyntaxWarning: '
str' object is not callable; perhaps you missed a comma?
  raise TypeError('%s option must be a dictionary, not %s' (name, value))
/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1203: SyntaxWarning: '
str' object is not callable; perhaps you missed a comma?
  raise TypeError('%s option must be a dictionary, not %s' (name, value))
Processing triggers for man-db (2.9.1-1) ...
jaakko@jaakko-Aspire-E1-572:~$ sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 9.0, Release Date: 2020-01-01                     │
│ Using Python 3.8.5. Type "help()" for help.                        │
└────────────────────────────────────────────────────────────────────┘
Traceback (most recent call last):
  File "/usr/share/sagemath/bin/sage-ipython", line 12, in <module>
    from sage.repl.interpreter import SageTerminalApp
  File "/usr/lib/python3/dist-packages/sage/repl/interpreter.py", line 105, in <module>
    from sage.repl.preparse import preparse, containing_block
  File "/usr/lib/python3/dist-packages/sage/repl/preparse.py", line 227, in <module>
    from sage.repl.load import load_wrap
  File "/usr/lib/python3/dist-packages/sage/repl/load.py", line 19, in <module>
    from sage.cpython.string import str_to_bytes, bytes_to_str, FS_ENCODING
ModuleNotFoundError: No module named 'sage.cpython.string'
jaakko@jaakko-Aspire-E1-572:~$ 
Archisman panigrahi

要安装Sage Math,请输入命令sudo apt install sagemath

sagemath-common(已安装)是整个程序包的依赖项之一。安装时sagemath,它将安装所有必需的依赖项。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

如何在Fedora 20中安装SDL2库

来自分类Dev

如何在Ubuntu上安装流星?

来自分类Dev

sagemath在ubuntu 16上安装失败

来自分类Dev

如何在Amazon Linux上安装openjdk“ 1.8.0_20-b26”?

来自分类Dev

如何在Jupyter中安装sagemath内核

来自分类Dev

如何在Ubuntu 20上添加自定义热键

来自分类Dev

无法在ubuntu 18.04 LTS上安装sagemath

来自分类Dev

装有Ubuntu-20-04的HP Elitebook上的触摸板按钮不起作用

来自分类Dev

如何在Ubuntu上安装sagemath?

来自分类Dev

如何在Ubuntu 12; 04中安装nmap

来自分类Dev

如何在Ubuntu 12; 04中安装nmap

来自分类Dev

如何在新安装的Fedora 20系统上获得emacs?

来自分类Dev

如何在具有20GB SSD和1TB HDD的Asus Vivobook S46CA上分区和安装Ubuntu 14.04

来自分类Dev

如何在Ubuntu 20LTS上禁用电源按钮的行为

来自分类Dev

如何在Ubuntu 14,04 LTS上安装Muvizu?

来自分类Dev

如何在Fedora20上启动XWindow

来自分类Dev

如何在Fedora 20中安装SDL2库

来自分类Dev

如何在Fedora 20上安装Wine?

来自分类Dev

无法在ubuntu 18.04 LTS上安装sagemath

来自分类Dev

如何在Linux Mint 19/20上安装最新的Nvidia驱动程序

来自分类Dev

如何在Linux Mint 20上安装python3-pyqt4?HPLIP依赖性

来自分类Dev

在 Ubuntu 16-04 上安装 opencv

来自分类Dev

向 ubuntu 20 安装添加额外的磁盘

来自分类Dev

如何在 Ubuntu 20 中安装 rsvg-view?

来自分类Dev

在 Ubuntu 20 上安装 virtualbox-dkms 时出错

来自分类Dev

如何在 Ubuntu 20 上添加自定义热键

来自分类Dev

如何在 Ubuntu 20.04 上安装 Sagemath?

来自分类Dev

带有 Ubuntu-20-04 的 HP Elitebook 上的触摸板按钮不起作用

来自分类Dev

如何在 20 行表上显示 5 条记录?

Related 相关文章

热门标签

归档