The python used by sage is not the system python. So you should do
./sage -sh
in SAGE_ROOT and then try “python -m bitset”

François
> On 8/12/2014, at 18:00, Michael Somos <ms...@georgetown.edu> wrote:
> 
> I am using a VirtualBox Sage-6.2 and wanted to upgrade sage.
> It failed trying to build conway_polynomials.
> 
> [sage@sagevm ~]$ python -m bitset
> /usr/bin/python: No module named bitset
> [sage@sagevm ~]$ python -V
> Python 2.6.6
> 
> 
> Thread model: posix
> gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
> ****************************************************
> Traceback (most recent call last):
>  File "./spkg-install", line 4, in <module>
>    from sage.all import save
>  File "/home/sage/sage-6.2/local/lib/python2.7/site-packages/sage/all.py",
> line 87, in <module>
>    from sage.misc.all       import *         # takes a while
>  File 
> "/home/sage/sage-6.2/local/lib/python2.7/site-packages/sage/misc/all.py",
> line 172, in <module>
>    from bitset import FrozenBitset, Bitset
> ImportError: No module named bitset
> 
> real    0m33.122s
> user    0m2.768s
> sys     0m17.005s
> ************************************************************************
> Error installing package conway_polynomials-0.4.p0
> ************************************************************************
> Please email sage-devel (http://groups.google.com/group/sage-devel)
> explaining the problem and including the relevant part of the log file
>  /home/sage/sage-6.2/logs/pkgs/conway_polynomials-0.4.p0.log
> 
> -- 
> 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.

-- 
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.

Reply via email to