Shortly: Can someone WITHOUT bliss installed try
sage -c 'from sage.graphs.bliss import canonical_form'
sage -i bliss
sage -c 'from sage.graphs.bliss import canonical_form'
make
sage -c 'from sage.graphs.bliss import canonical_form'
* * *
Long version:
I got strange error, and hope that someone can confirm this.
Yesterday I installed bliss normally by sage -i bliss. Everything seem
fine and 'bliss' in sage.misc.package.optional_packages()[0] said True.
However,
G = Graph({10: [20]})
G.canonical_label(algorithm='sage', return_graph=True)
gave "ImportError: You must install the 'bliss' package to run this
command."
Then I continue doing some other things. Among them I run make and sage -b
for few times. Today bliss works.
So I suspect that somehow the package installation does not trigger
something it should.
(This come up from http://trac.sagemath.org/ticket/19517 , but I suppose
that it is not really related.)
--
Jori Mäntysalo