Hi Can you run
find /usr/lib/sagemath/ -name _collections* Regards, Jan On 28 May 2015 at 16:39, Adrian Lam <adrianiain...@gmail.com> wrote: > Jan Groenewald <jan <at> aims.ac.za> writes: > > > > Hi Denny, > > I'm happy to assist with further debugging. > > You can probably still find the deb in /var/cache/apt/archives/ and > unpack > it elsewhere with, say, mkdir /tmp/sage; dpkg -x > sagemath-upstream-binary_6.7ppa4_amd64.deb /tmp/sage/ > > and cd into that to try run /tmp/sage/usr/bin/sage to find out more. > > Regards, > > Jan > > > > Reproduced on Ubuntu 14.04.2. The same thing happens for the "unpack > elsewhere" method. > > Furthermore, it seems that all built-in Python modules are not imported > correctly. > > $ sage -n > Traceback (most recent call last): > File "/usr/lib/sagemath/local/bin/sage-notebook", line 7, in <module> > import argparse > File "/usr/lib/sagemath/local/lib/python/argparse.py", line 85, in > <module> > import collections as _collections > File "/usr/lib/sagemath/local/lib/python/collections.py", line 8, in > <module> > from _collections import deque, defaultdict > ImportError: No module named _collections > $ > $ > $ sage -p > Traceback (most recent call last): > File "/usr/lib/sagemath/local/bin/sage-run", line 4, in <module> > from subprocess import call > File "/usr/lib/sagemath/local/lib/python/subprocess.py", line 427, in > <module> > import select > ImportError: No module named select > $ > $ sage -v > SageMath Version 6.7, Release Date: 2015-05-17 > $ > > All the modules that fail to be imported (_struct, _collections and select) > are built-in modules. > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. > -- .~. /V\ Jan Groenewald /( )\ www.aims.ac.za ^^-^^ -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.