[sage-support] Re: question about using Sage with Pydev

2009-09-24 Thread Shing Hing Man
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

[sage-support] Re: question about using Sage with Pydev

2009-09-15 Thread x x
> Does that provide all of the Sage functionality ? I am not an experienced user of sage but i can tell the following: The following import statement is needed: from sage.all import *, and one has to be careful with some notation: x^2 --> x **2 and 1/2 --> RealNumber(1)/2 (or something similar).

[sage-support] Re: question about using Sage with Pydev

2009-09-14 Thread Greg
Does that provide all of the Sage functionality ? Greg On Sep 14, 12:28 pm, niels wrote: > > Hi, I've been trying to get Sage to work with Eclipse/Pydev. > > When I run it using python on the command prompt, it seems to work. > > Hi, > > i have Eclipse 3.4.2 and Pydev version 1.4.8.2881 and it

[sage-support] Re: question about using Sage with Pydev

2009-09-14 Thread niels
> Hi, I've been trying to get Sage to work with Eclipse/Pydev. > When I run it using python on the command prompt, it seems to work. Hi, i have Eclipse 3.4.2 and Pydev version 1.4.8.2881 and it works with sage 4.1.1 In the Preferences->Pydev->Interpreter the Environment vars should be set, but

[sage-support] Re: question about using Sage with Pydev

2009-08-05 Thread Greg
Quick addition - I only get this error when trying to run this program from inside Eclipse. When I run it using python on the command prompt, it seems to work. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe fr