Did you download a binary build? Try compiling from source.
On Monday, June 22, 2015 at 8:21:42 AM UTC+2, Madan Saini wrote: > > I am unable to start the sage math. I am getting the following error. I am > using Redhat-6 > > ┌────────────────────────────────────────────────────────────────────┐ > │ SageMath Version 6.7, Release Date: 2015-05-17 │ > │ Type "notebook()" for the browser-based notebook interface. │ > │ Type "help()" for help. │ > └────────────────────────────────────────────────────────────────────┘ > 'import site' failed; use -v for traceback > Traceback (most recent call last): > File "/media/Work2/SageMath/sage-6.7-i686-Linux/src/bin/sage-location", > line 5, in <module> > import os, sys, re > File "/media/Work2/SageMath/sage-6.7-i686-Linux/local/lib/python/os.py", > line 400, in <module> > import UserDict > File > "/media/Work2/SageMath/sage-6.7-i686-Linux/local/lib/python/UserDict.py", > line 83, in <module> > import _abcoll > File > "/media/Work2/SageMath/sage-6.7-i686-Linux/local/lib/python/_abcoll.py", > line 11, in <module> > from abc import ABCMeta, abstractmethod > File > "/media/Work2/SageMath/sage-6.7-i686-Linux/local/lib/python/abc.py", line > 8, in <module> > from _weakrefset import WeakSet > File > "/media/Work2/SageMath/sage-6.7-i686-Linux/local/lib/python/_weakrefset.py", > line 5, in <module> > from _weakref import ref > ImportError: No module named _weakref > > Please advice > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
