Error on running Sage

北城以北 提交于 2020-01-05 07:16:11

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/13096160/error-on-running-sage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!