how to setup pydev eclipse to preparse sage properly

49 views
Skip to first unread message

Guissmo Asuncion

unread,
Jan 11, 2014, 11:37:23 PM1/11/14
to sage-s...@googlegroups.com
I've recently moved to Ubuntu 13.10 (dual booting on top of Windows 8) on a fresh new computer.
I've installed Eclipse Kepler and have installed PyDev over that.
I use "sage -sh" command to open eclipse.
Basically, I followed what's written here.
When I run the interpreter via Ctrl + Alt + Enter, here is what appears:

import sys; from sage.all import *;
1034hPython 2.7.5 (default, Dec 18 2013, 12:14:38) 
Type "copyright", "credits" or "license" for more information.

IPython 0.13.2 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

PyDev -- Python IDE for Eclipse
For help on using PyDev's Console see http://pydev.org/manual_adv_interactive_console.html
preparser(on=True); execfile=load;
runfile(FILENAME)

Unfortunately, my SAGE files do not seem to be preparsed as commands like 3^3 still output 0 instead of 27.

I've already setup something like this in the past (with a past version of Ubuntu and a past version of SAGE) so I know it's possible to do.
I think I just forgot to do a couple of steps not written on the link above.

Thank you in advance for your time.

'Sage Version 6.0, Release Date: 2013-12-17'

Reply all
Reply to author
Forward
0 new messages