问题描述
我正在尝试使用 Sage,但是当我输入 ./sage
时,我收到了很多这样的错误,带有奇怪的字符:
----------------------------------------------------------------------|Sage 4.8 版本,发布日期:2012-01-20 ||为 GUI 输入 notebook(),为信息输入 license().|----------------------------------------------------------------------/mnt/dados/sage-4.8-linux-64bit-ubuntu_10.04.3_lts-x86_64-Linux/local/bin/python: 1: ELF: not found/mnt/dados/sage-4.8-linux-64bit-ubuntu_10.04.3_lts-x86_64-Linux/local/bin/python: 2:: 未找到/mnt/dados/sage-4.8-linux-64bit-ubuntu_10.04.3_lts-x86_64-Linux/local/bin/python: 2: CE : 2b K qXj :未找到/mnt/dados/sage-4.8-linux-64bit-ubuntu_10.04.3_lts-x86_64-Linux/local/bin/python: 1:语法错误:单词意外(期望)")
我使用 Lubuntu 11.10 和 Linux vaio 3.0.0-16-generic-pae #28-Ubuntu SMP Fri Jan 27 19:24:01 UTC 2012 i686 i686 i386 GNU/Linux
>
我知道有一个新版本,但它太大了,现在无法下载.那么,知道如何解决这个问题吗?我试过谷歌,但出现了很多与其他问题相关的错误.
我的猜测是您下载了与您的硬件不兼容的 Sage 二进制版本.(我认为 Sage 的 linux 二进制文件可能有点挑剔.)您可以下载源代码并自己构建;通常,源代码比二进制文件小一点.如果您的机器上有编译器 (gcc) 和其他基本开发工具,它应该会在几个小时内构建完毕.
I am trying to use Sage but when I type ./sage
I get a lot of errors like these, with strange characters:
----------------------------------------------------------------------
| Sage Version 4.8, Release Date: 2012-01-20 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
/mnt/dados/sage-4.8-linux-64bit-ubuntu_10.04.3_lts-x86_64-Linux/local/bin/python: 1: ELF: not found
/mnt/dados/sage-4.8-linux-64bit-ubuntu_10.04.3_lts-x86_64-Linux/local/bin/python: 2:
: not found
/mnt/dados/sage-4.8-linux-64bit-ubuntu_10.04.3_lts-x86_64-Linux/local/bin/python: 2: CE�� :� 2b���K�������qXj�: not found
/mnt/dados/sage-4.8-linux-64bit-ubuntu_10.04.3_lts-x86_64-Linux/local/bin/python: 1:
Syntax error: word unexpected (expecting ")")
I am using Lubuntu 11.10 with Linux vaio 3.0.0-16-generic-pae #28-Ubuntu SMP Fri Jan 27 19:24:01 UTC 2012 i686 i686 i386 GNU/Linux
I know that there is a new version but it is too big to download now. So, any idea how to solve this? I tried google but a lot of errors like those appeared related to other problems.
My guess is that you downloaded a binary version of Sage which is incompatible with your hardware. (I think that the linux binaries for Sage can be a bit finicky.) You could download the source code and build it yourself; the source code is a bit smaller than the binaries, typically. If you have a compiler (gcc) and other basic development tools on your machine, it should build in a couple of hours.
这篇关于运行 Sage 时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!