Not able to run the sage math on redhat-6

19 views
Skip to first unread message

Madan Saini

unread,
Jun 22, 2015, 2:21:42 AM6/22/15
to sage-s...@googlegroups.com
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

Volker Braun

unread,
Jun 22, 2015, 3:42:34 AM6/22/15
to sage-s...@googlegroups.com
Did you download a binary build? Try compiling from source.
Reply all
Reply to author
Forward
0 new messages