#1 Le 31/05/2013, à 14:23
- moroplogo
installation sagemath
Je viens d'installer ubuntu (13.04) avec l'intention d'utiliser le logiciel sagemath (sans passer actuellement par une machine virtuelle dans windows 7).
J'ai téléchargé le binaire et l'ai décompressé comme cela est indiqué sur le site officiel : http://www.sagemath.org/download.html :
"Download Linux binaries
Usage:
Select the one that suits your setup and extract it in your file-browser by right clicking "extract" or on the command-line using: tar xvzf sage...tar.gz.
Run sage by calling the command: sage.
At the moment there are no distribution-specific packages available. Progress is being made for Debian and Fedora."
Après l'avoir décompressé , je vais dans le dossier de sagemath et je clique sur l'icone "sage" qui est une application (script shell).
Le problème est qu'il s'ouvre automatiquement avec GEDIT .
Dans les propriétés du fichier sage , j'ai pourtant bien cocher la case "Autoriser l'execution du fichier comme un programme".
Quelqu'un aurait-il une réponse à mon problème?
Remarque : Je suis nouveau sur linux, j'ai d'abord tenté de l'installer sur Fedora mais avec un problème supplémentaire : il m'était impossible de cocher la case d’exécution, alors que j'étais administrateur!
Merci d'avance.
Hors ligne
#2 Le 31/05/2013, à 14:29
- shoot76
Re : installation sagemath
Bonjour :
Ouvres un terminal et modifies le code si dessus de façon à ce qu'il soit bon pour toi :
cd ~/chemin/vers/ton/dossier/sage/ && chmod +x sage && ./sage # Penses bien à vérifier l'extension, genre si c'est sage.sh, ou quoi que ce soit. J'ai fait au mieux avec ce que tu donnais comme indications :)
Si ça ne fonctionne pas, indique moi le retour s'il te plait
Dernière modification par shoot76 (Le 31/05/2013, à 14:30)
~ Data-sientist freelance : https://skulder.fr
Hors ligne
#3 Le 31/05/2013, à 23:42
- moroplogo
Re : installation sagemath
Merci shoot76 pour ton aide,
Voilà ce que donne le code , cela me semble barbare mais je suis habitué à windows!
oli@oli-Aspire-7720Z:~/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux$ cd ~/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux && chmod +x sage && ./sage
----------------------------------------------------------------------
| Sage Version 5.9, Release Date: 2013-04-30 |
| Type "notebook()" for the browser-based notebook interface. |
| Type "help()" for help. |
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/bin/sage-ipython", line 6, in <module>
from sage.misc.interpreter import SageTerminalApp
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/interpreter.py", line 67, in <module>
import os, log, re, new, sys
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/log.py", line 65, in <module>
import latex
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/latex.py", line 60, in <module>
from sage.misc.cachefunc import cached_function, cached_method
ImportError: libcsage.so: cannot open shared object file: No such file or directory
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/temporary_file.py", line 51, in delete_tmpfiles
from sage.misc.misc import SAGE_TMP
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/misc.py", line 39, in <module>
import sage.misc.prandom as random
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/prandom.py", line 58, in <module>
from sage.misc.randstate import current_randstate
ImportError: libcsage.so: cannot open shared object file: No such file or directory
Error in sys.exitfunc:
Traceback (most recent call last):
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/temporary_file.py", line 51, in delete_tmpfiles
from sage.misc.misc import SAGE_TMP
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/misc.py", line 39, in <module>
import sage.misc.prandom as random
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/prandom.py", line 58, in <module>
from sage.misc.randstate import current_randstate
ImportError: libcsage.so: cannot open shared object file: No such file or directory
oli@oli-Aspire-7720Z:~/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux$ ./sage
----------------------------------------------------------------------
| Sage Version 5.9, Release Date: 2013-04-30 |
| Type "notebook()" for the browser-based notebook interface. |
| Type "help()" for help. |
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/bin/sage-ipython", line 6, in <module>
from sage.misc.interpreter import SageTerminalApp
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/interpreter.py", line 67, in <module>
import os, log, re, new, sys
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/log.py", line 65, in <module>
import latex
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/latex.py", line 60, in <module>
from sage.misc.cachefunc import cached_function, cached_method
ImportError: libcsage.so: cannot open shared object file: No such file or directory
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/temporary_file.py", line 51, in delete_tmpfiles
from sage.misc.misc import SAGE_TMP
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/misc.py", line 39, in <module>
import sage.misc.prandom as random
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/prandom.py", line 58, in <module>
from sage.misc.randstate import current_randstate
ImportError: libcsage.so: cannot open shared object file: No such file or directory
Error in sys.exitfunc:
Traceback (most recent call last):
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/temporary_file.py", line 51, in delete_tmpfiles
from sage.misc.misc import SAGE_TMP
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/misc.py", line 39, in <module>
import sage.misc.prandom as random
File "/home/oli/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/lib/python2.7/site-packages/sage/misc/prandom.py", line 58, in <module>
from sage.misc.randstate import current_randstate
ImportError: libcsage.so: cannot open shared object file: No such file or directory
oli@oli-Aspire-7720Z:~/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux$
Il semble qu'il y ait un problème avec libcsage.so
Hors ligne
#4 Le 01/06/2013, à 02:14
- moroplogo
Re : installation sagemath
J'ai réussi à le faire fonctionner en le téléchargeant à nouveau .
Hors ligne