Hello,
bitset is not a Python module. It is now in sage.data_structures and
not anymore in sage.misc (since 6.3.beta4, see
http://trac.sagemath.org/ticket/17196). The following works for me
sage: from sage.data_structures.bitset import FrozenBitset, Bitset
sage: Bitset
sage: FrozenBitset
What
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 wrote:
>
> I am using a VirtualBox Sage-6.2 and wanted to upgrade sage.
> It failed trying to build conway_polynomials.
>
>
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)