Pages : 1
#1 Le 03/11/2011, à 19:13
- fav
probleme execution sagemaths
bonjours,
A chaque fois que je lance la commande
sage
dans le terminal j'ai toujours ce message:
$ sage
----------------------------------------------------------------------
| Sage Version 4.7.1, Release Date: 2011-08-11 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/usr/local/share/sage-4.7.1/local/bin/<string> in <module>()
ImportError: No module named sage.misc.preparser_ipython
WARNING: Failure executing code: 'import sage.misc.preparser_ipython; sage.misc.preparser_ipython.magma_colon_equals=True'
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/usr/local/share/sage-4.7.1/local/lib/python2.6/site-packages/IPython/ipmaker.pyc in force_import(modname)
64 reload(sys.modules[modname])
65 else:
---> 66 __import__(modname)
67
68
/usr/local/share/sage-4.7.1/local/bin/ipy_profile_sage.py in <module>()
1 import os
2 if 'SAGE_CLEAN' not in os.environ:
----> 3 import sage.misc.misc
4 from sage.misc.interpreter import preparser, _ip
5 preparser(True)
ImportError: No module named sage.misc.misc
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.
WARNING: Readline services not available on this platform.
WARNING: The auto-indent feature requires the readline library
<ERROR: name 'sage_prompt' is not defined>
Ps:J'ai installe sagemath via la compilation des codes sources.
On ne va jamais aussi loin que lorsqu'on ne sait pas où l'on va.
Hors ligne
Pages : 1