I have the same problem as Greg.
Namely,  when I  run the following in PyDev

from sage.rings.arith import factor

print factor(266)

I get  the following error.

ImportError: No module named rings.arith

I am using Eclipse 3.5 and Pydev 1.5.0, Sage 4.0.2.
In my Pydev Python project, I have
1) set python intereter to (SAGE_ROOT)/localbin/python
2) Set Properties -> External libraries to
        (SAGE_ROOT)/devel/sage-main


It would be appreciated if someone could show me how to resolve the
above error.

Thanks!
Shing


On Sep 15, 2:35 pm, x x <niels.lub...@gmail.com> wrote:
> > Does that provide all of the Sage functionality ?
>
> I am not an experienced user of sage but i can tell the following:
>
> The followingimportstatement is needed: from sage.allimport*,
> and one has to be careful with some notation: x^2 --> x **2 and
> 1/2 --> RealNumber(1)/2 (or something similar).
>
> The show() commands automatically starts the  external image viewer programs.
>
> The automatic completion functionality also works.
>
> Kind regards,
>
> Niels
>
> (P.S. Currently Pydev extensions is also opensource and it works quite
> well, except refactoring gives sometimes problems.)
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to