Problems with Python shell in Eclipse

50 views
Skip to first unread message

Julien Phalip

unread,
Aug 13, 2008, 8:01:21 PM8/13/08
to Django users
Hi,

I'm an eclipse user (Aptana, to be precise), and I use PyDev to write
Python code. And I can't get the shell to work. Well, it works, but
whenever I press "return" it doesn't recognize the input. A typical
example is:

>>> a=1
>>> File "<console>", line 1
a=1

^
SyntaxError: invalid syntax

A while ago I've logged a ticket on the PyDev project site [1], and I
just see that some else has got the same issue [2]. The ctrl-enter
trick given in [2] doesn't work for me...

Does anybody else have this issue? Is this an issue with Python,
Django or with Eclipse/Aptana? Probably the latter, or a bad
compatibility between the them...

Any hint would be welcome, as this is quite annoying =p

[1] http://sourceforge.net/tracker/index.php?func=detail&aid=2003793&group_id=85796&atid=577329
[2] http://code.djangoproject.com/ticket/8284

julianb

unread,
Aug 14, 2008, 5:54:39 AM8/14/08
to Django users
On Aug 14, 2:01 am, Julien Phalip <jpha...@gmail.com> wrote:
> Does anybody else have this issue? Is this an issue with Python,
> Django or with Eclipse/Aptana? Probably the latter, or a bad
> compatibility between the them...

I have the same issue... That's why I'm never using the Eclipse Python
shell. Would be nice to know what the problem is, yes.

Damien Hou

unread,
Aug 14, 2008, 6:35:07 AM8/14/08
to django...@googlegroups.com
I think using an external shell like ipython is a much better choice
--
Best Regards,
Damien
Reply all
Reply to author
Forward
0 new messages