#17205: ore_algebra fails to import
--------------------------------------+------------------------
       Reporter:  zieglerk            |        Owner:
           Type:  defect              |       Status:  new
       Priority:  major               |    Milestone:  sage-6.4
      Component:  packages: optional  |   Resolution:
       Keywords:  ImportError         |    Merged in:
        Authors:                      |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+------------------------
Description changed by zieglerk:

Old description:

> After installing the ore_algebra-0.1 in Sage 6.3, the import as suggested
> in the [http://www.risc.jku.at/research/combinat/software/ore_algebra/
> documentation] fails.
> {{{
> sage: from ore_algebra import *
> ---------------------------------------------------------------------------
> ImportError                               Traceback (most recent call
> last)
> <ipython-input-1-27ab6e1c2b69> in <module>()
> ----> 1 from ore_algebra import *
>
> /home/zieglerk/local/share/sage/local/lib/python2.7/site-
> packages/ore_algebra/__init__.py in <module>()
>      12
>      13 from ore_algebra import OreAlgebra
> ---> 14 from guessing import guess, guess_raw
>      15
>      16 """
>
> /home/zieglerk/local/share/sage/local/lib/python2.7/site-
> packages/ore_algebra/guessing.py in <module>()
>      30 from sage.rings.integer_ring import ZZ
>      31 from sage.rings.rational_field import QQ
> ---> 32 from sage.rings.finite_rings.all import GF, is_FiniteField
>      33 from sage.matrix.constructor import Matrix, matrix
>      34 from sage.rings.arith import xgcd
> }}}
>
> Similarly on !SageMathCloud running Sage 6.3.
> {{{
> from ore_algebra import *
> Error in lines 1-1
> Traceback (most recent call last):
>   File "/projects/9700d68d-
> 67c2-4a91-a689-c1d5b8b3f15e/.sagemathcloud/sage_server.py", line 841, in
> execute
>     exec compile(block+'\n', '', 'single') in namespace, locals
>   File "", line 1, in <module>
>   File "/usr/local/sage/sage-6.3.beta6/local/lib/python2.7/site-
> packages/ore_algebra/__init__.py", line 14, in <module>
>     from guessing import guess, guess_raw
>   File "/usr/local/sage/sage-6.3.beta6/local/lib/python2.7/site-
> packages/ore_algebra/guessing.py", line 32, in <module>
>     from sage.rings.finite_rings.all import GF, is_FiniteField
> ImportError: cannot import name is_FiniteField
> }}}

New description:

 After installing the ore_algebra-0.1 in Sage 6.3, the import as suggested
 in the [http://www.risc.jku.at/research/combinat/software/ore_algebra/
 documentation] fails.
 {{{
 sage: from ore_algebra import *
 ---------------------------------------------------------------------------
 ImportError                               Traceback (most recent call
 last)
 <ipython-input-1-27ab6e1c2b69> in <module>()
 ----> 1 from ore_algebra import *

 /home/zieglerk/local/share/sage/local/lib/python2.7/site-
 packages/ore_algebra/__init__.py in <module>()
      12
      13 from ore_algebra import OreAlgebra
 ---> 14 from guessing import guess, guess_raw
      15
      16 """

 /home/zieglerk/local/share/sage/local/lib/python2.7/site-
 packages/ore_algebra/guessing.py in <module>()
      30 from sage.rings.integer_ring import ZZ
      31 from sage.rings.rational_field import QQ
 ---> 32 from sage.rings.finite_rings.all import GF, is_FiniteField
      33 from sage.matrix.constructor import Matrix, matrix
      34 from sage.rings.arith import xgcd

 ImportError: cannot import name is_FiniteField
 }}}

 Similarly on !SageMathCloud running Sage 6.3.
 {{{
 from ore_algebra import *
 Error in lines 1-1
 Traceback (most recent call last):
   File "/projects/9700d68d-
 67c2-4a91-a689-c1d5b8b3f15e/.sagemathcloud/sage_server.py", line 841, in
 execute
     exec compile(block+'\n', '', 'single') in namespace, locals
   File "", line 1, in <module>
   File "/usr/local/sage/sage-6.3.beta6/local/lib/python2.7/site-
 packages/ore_algebra/__init__.py", line 14, in <module>
     from guessing import guess, guess_raw
   File "/usr/local/sage/sage-6.3.beta6/local/lib/python2.7/site-
 packages/ore_algebra/guessing.py", line 32, in <module>
     from sage.rings.finite_rings.all import GF, is_FiniteField
 ImportError: cannot import name is_FiniteField
 }}}

--

--
Ticket URL: <http://trac.sagemath.org/ticket/17205#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" 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-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to