On Jul 9, 2009, at 3:00 AM, Ralf Hemmecke wrote: > > I seem to be out of luck. But maybe I did something wrong. > > Here my steps. > > I downloaded and extracted > sage-4.0.2-linux-Debian_GNU_Linux_5.0_lenny-i686-Linux.tar.gz. > > cd sage-4.0.2-linux-Debian_GNU_Linux_5.0_lenny-i686-Linux > ./sage -combinat install > ./sage # fails becaus of binaries being not for my computer > # I recompiled... >> ./sage -f mpir-1.2.p4 >> ./sage -f atlas-3.8.3.p3 > # ... and started sage (see below...) > > Now, maybe I have to reinstall sage-combinat or is the error I got not > connected to sage-combinat? > > But ... > /devel>ls -l > total 16 > drwx------ 4 hemmecke hemmecke 4096 2009-07-09 00:35 . > drwx------ 8 hemmecke hemmecke 4096 2009-07-09 11:24 .. > lrwxrwxrwx 1 hemmecke hemmecke 13 2009-07-09 00:35 sage -> sage- > combinat > drwx------ 7 hemmecke hemmecke 4096 2009-07-09 00:35 sage-combinat > drwx------ 7 hemmecke hemmecke 4096 2009-06-19 16:33 sage-main > > So I probably should not simply remove the sage-combinat directory. > And where did the mpir and atlas stuff go? Would I have to recompile > them after 'sage -b main'? > > Any hint is appreciated.
I'd try sage -b main sage -ba > > Ralf > > ================================================================= > >> ./sage > ---------------------------------------------------------------------- > > | Sage Version 4.0.2, Release Date: 2009-06-18 | > > | Type notebook() for the GUI, and license() for information. | > > ---------------------------------------------------------------------- > > ---------------------------------------------------------------------- > ----- > > ImportError Traceback (most recent call > last) > > /home/hemmecke/scratch/sage-4.0.2-linux-Debian_GNU_Linux_5.0_lenny- > i686-Linux/local/lib/python2.5/site-packages/IPython/ipmaker.pyc > in force_import(modname) > 64 reload(sys.modules[modname]) > > 65 else: > > ---> 66 __import__(modname) > > 67 > > 68 > > > /home/hemmecke/scratch/sage-4.0.2-linux-Debian_GNU_Linux_5.0_lenny- > i686-Linux/local/bin/ipy_profile_sage.py > in <module>() > 5 preparser(True) > > 6 > > ----> 7 import sage.all_cmdline > > 8 sage.all_cmdline._init_cmdline(globals()) > > 9 > > > /home/hemmecke/scratch/sage-4.0.2-linux-Debian_GNU_Linux_5.0_lenny- > i686-Linux/local/lib/python2.5/site-packages/sage/all_cmdline.py > in <module>() > 12 try: > > 13 > > ---> 14 from sage.all import * > > 15 from sage.calculus.predefined import x > > 16 preparser(on=True) > > > /home/hemmecke/scratch/sage-4.0.2-linux-Debian_GNU_Linux_5.0_lenny- > i686-Linux/local/lib/python2.5/site-packages/sage/all.py > in <module>() > 98 > > 99 from sage.server.all import * > > --> 100 import sage.tests.all as tests > > 101 > > 102 try: > > > /home/hemmecke/scratch/sage-4.0.2-linux-Debian_GNU_Linux_5.0_lenny- > i686-Linux/local/lib/python2.5/site-packages/sage/tests/all.py > in <module>() > 2 """ > > 3 from sage.modular.modsym.tests import Test as modsym > > ----> 4 from sage.tests.arxiv_0812_2725 import * > > 5 > > 6 > > > /home/hemmecke/scratch/sage-4.0.2-linux-Debian_GNU_Linux_5.0_lenny- > i686-Linux/local/lib/python2.5/site-packages/sage/tests/ > arxiv_0812_2725.py > in <module>() > 38 > #********************************************************************* > ******** > > 39 > > ---> 40 from sage.combinat.set_partition import SetPartitions as > SetPartitions > 41 > > 42 def CompleteMatchings(n): > > > /home/hemmecke/scratch/sage-4.0.2-linux-Debian_GNU_Linux_5.0_lenny- > i686-Linux/local/lib/python2.5/site-packages/sage/combinat/ > set_partition.py > in <module>() > 66 > > 67 from sage.sets.set import Set, EnumeratedSet, is_Set, > Set_object_enumerated > ---> 68 import sage.combinat.partition as partition > > 69 import sage.rings.integer > > 70 import __builtin__ > > > /home/hemmecke/scratch/sage-4.0.2-linux-Debian_GNU_Linux_5.0_lenny- > i686-Linux/local/lib/python2.5/site-packages/sage/combinat/ > partition.py > in <module>() > 237 from cartesian_product import CartesianProduct > > 238 from integer_list import IntegerListsLex > > --> 239 from sage.combinat.root_system.weyl_group import WeylGroup > > 240 > > 241 def Partition(l=None, exp=None, core_and_quotient=None): > > > /home/hemmecke/scratch/sage-4.0.2-linux-Debian_GNU_Linux_5.0_lenny- > i686-Linux/local/lib/python2.5/site-packages/sage/combinat/ > root_system/__init__.py > in <module>() > 1 > ----> 2 # Makes sage.combinat.root_system? equivalent to > sage.combinat.root_system.root_system? > 3 from root_system import __doc__ > 4 > 5 # currently needed to activate the backward compatibility > register_unpickle_override > 6 import type_A > > /home/hemmecke/scratch/sage-4.0.2-linux-Debian_GNU_Linux_5.0_lenny- > i686-Linux/local/lib/python2.5/site-packages/sage/combinat/ > root_system/root_system.py > in <module>() > 43 from sage.rings.all import ZZ, QQ > 44 from sage.misc.all import cached_method > ---> 45 from root_space import RootSpace > 46 from weight_space import WeightSpace > 47 > > /home/hemmecke/scratch/sage-4.0.2-linux-Debian_GNU_Linux_5.0_lenny- > i686-Linux/local/lib/python2.5/site-packages/sage/combinat/ > root_system/root_space.py > in <module>() > 9 > #********************************************************************* > ******** > 10 > ---> 11 from sage.combinat.free_module import CombinatorialFreeModule, > CombinatorialFreeModuleElement > 12 from root_lattice_realization import RootLatticeRealization, > RootLatticeRealizationElement > 13 from sage.misc.cachefunc import ClearCacheOnPickle > > /home/hemmecke/scratch/sage-4.0.2-linux-Debian_GNU_Linux_5.0_lenny- > i686-Linux/local/lib/python2.5/site-packages/sage/combinat/ > free_module.py > in <module>() > 30 from sage.combinat.combinat import CombinatorialClass > 31 from sage.combinat.cartesian_product import CartesianProduct > ---> 32 from sage.categories.all import Sets, Rings, ModulesWithBasis, > TensorialCategory, Morphism > 33 from sage.categories.map import Map > 34 from sage.misc.cachefunc import cached_function, > cached_method > > ImportError: cannot import name TensorialCategory > Error importing ipy_profile_sage - perhaps you should run %upgrade? > WARNING: Loading of ipy_profile_sage failed. > > sage: > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---