简体   繁体   English

sagemath在ubuntu 16上安装失败

[英]sagemath installation fails on ubuntu 16

I need help installing sagemath on my ubuntu 16 laptop. 我需要在ubuntu 16笔记本电脑上安装sagemath的帮助。

I did this: 我这样做:

cat /etc/os-release 
cd ~
wget http://mirrors.mit.edu/sage/linux/64bit/sage-7.2-Ubuntu_16.04-x86_64.tar.bz2
tar jxf sage-7.2-Ubuntu_16.04-x86_64.tar.bz2
SageMath/sage

I saw this: 我看见了这个:

dan@al78:~ $ tar jxf sage-7.2-Ubuntu_16.04-x86_64.tar.bz2
dan@al78:~ $ 
dan@al78:~ $ ll SageMath/sage
-rwxr-xr-x 1 dan dan 4680 May 15 16:43 SageMath/sage*
dan@al78:~ $ 
dan@al78:~ $ SageMath/sage
RecursionError: maximum recursion depth exceeded during compilation
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 7.2, Release Date: 2016-05-15                     │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘

ERROR:  The Sage installation tree has moved

I'd welcome clues on how to debug this. 我欢迎有关如何调试的线索。

The problem was easy to fix with some shell commands: 这个问题很容易用一些shell命令来解决:

cd ~
mv anaconda3 anaconda3bak
SageMath/sage
quit
mv anaconda3bak anaconda3

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM