On 4/13/07, Helena Verrill <[EMAIL PROTECTED]> wrote: > Hi William, > > > from sage.all import (gcd, lcm) > > I still can't get this to work *in SageX*; perhaps I should upgrade sage, > since > It also for somereason won't use > localhost:8000, so I have to use localhost:8001 instead, (which is OK, but the > first should work too).
That suggests you have something running on port 8000. Maybe do "ps ax |grep python" and see what is there. And what do you see at port localhost:8000? Also, you could reboot. > Anyway, I tried typing > > %sagex > > from sage.all import (EnumeratedSet) > > at the top of a cell in a worksheet, but I get the messagge > I didn't realize it, but SageX doesn't support importing with parenthesis, which is a fairly need feature in Python. Just remove the parenthesis. See for this example working just by removing the parenthesis: http://www.sagenb.org/helena > Thanks for any help, Today would be a good day to upgrade SAGE, by the way, since I just released sage-2.4.2. William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---
