为什么在 Ubuntu 上安装 Sagemath 失败?我试过
\njaakko@jaakko-Aspire-E1-572:~$ sudo apt install sagemath-common\n[sudo] password for jaakko: \nReading package lists... Done\nBuilding dependency tree \nReading state information... Done\nThe following NEW packages will be installed:\n sagemath-common\n0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.\nNeed to get 16,2 MB of archives.\nAfter this operation, 205 MB of additional disk space will be used.\nGet:1 http://fi.archive.ubuntu.com/ubuntu focal/universe amd64 sagemath-common all 9.0-1ubuntu4 [16,2 MB]\nFetched 16,2 MB in 4s (3\xe2\x80\xaf888 kB/s) \nSelecting previously unselected package sagemath-common.\n(Reading database ... 216481 files and directories currently installed.)\nPreparing to unpack .../sagemath-common_9.0-1ubuntu4_all.deb ...\nUnpacking sagemath-common (9.0-1ubuntu4) ...\nSetting up sagemath-common (9.0-1ubuntu4) ...\n/usr/lib/python3/dist-packages/sage/combinat/root_system/branching_rules.py:1753\n: SyntaxWarning: "is not" with a literal. Did you mean "!="?\n if len(stypes) is not 2:\n/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1159: SyntaxWarning: '\nstr' object is not callable; perhaps you missed a comma?\n raise TypeError('%s option must be a dictionary, not %s' (name, value))\n/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1168: SyntaxWarning: '\nstr' object is not callable; perhaps you missed a comma?\n raise TypeError('%s option must be a dictionary, not %s' (name, value))\n/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1175: SyntaxWarning: '\nstr' object is not callable; perhaps you missed a comma?\n raise TypeError('%s option must be a dictionary, not %s' (name, value))\n/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1182: SyntaxWarning: '\nstr' object is not callable; perhaps you missed a comma?\n raise TypeError('%s option must be a dictionary, not %s' (name, value))\n/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1189: SyntaxWarning: '\nstr' object is not callable; perhaps you missed a comma?\n raise TypeError('%s option must be a dictionary, not %s' (name, value))\n/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1196: SyntaxWarning: '\nstr' object is not callable; perhaps you missed a comma?\n raise TypeError('%s option must be a dictionary, not %s' (name, value))\n/usr/lib/python3/dist-packages/sage/graphs/graph_latex.py:1203: SyntaxWarning: '\nstr' object is not callable; perhaps you missed a comma?\n raise TypeError('%s option must be a dictionary, not %s' (name, value))\nProcessing triggers for man-db (2.9.1-1) ...\njaakko@jaakko-Aspire-E1-572:~$ sage\n\xe2\x94\x8c\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x90\n\xe2\x94\x82 SageMath version 9.0, Release Date: 2020-01-01 \xe2\x94\x82\n\xe2\x94\x82 Using Python 3.8.5. Type "help()" for help. \xe2\x94\x82\n\xe2\x94\x94\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x98\nTraceback (most recent call last):\n File "/usr/share/sagemath/bin/sage-ipython", line 12, in <module>\n from sage.repl.interpreter import SageTerminalApp\n File "/usr/lib/python3/dist-packages/sage/repl/interpreter.py", line 105, in <module>\n from sage.repl.preparse import preparse, containing_block\n File "/usr/lib/python3/dist-packages/sage/repl/preparse.py", line 227, in <module>\n from sage.repl.load import load_wrap\n File "/usr/lib/python3/dist-packages/sage/repl/load.py", line 19, in <module>\n from sage.cpython.string import str_to_bytes, bytes_to_str, FS_ENCODING\nModuleNotFoundError: No module named 'sage.cpython.string'\njaakko@jaakko-Aspire-E1-572:~$ \nRun Code Online (Sandbox Code Playgroud)\n
Arc*_*ahi 15
要安装 Sage Math,请输入命令sudo apt install sagemath。
sagemath-common(您安装的)是整个包的众多依赖项之一。当您安装时sagemath,它会自动安装所有必需的依赖项。
| 归档时间: |
|
| 查看次数: |
19291 次 |
| 最近记录: |