Andrew Adel
Andrew Adel

Reputation: 1

PyDev interactive Console 'runfile' error

when i try to run code in the interactive console using Alt+Ctrl+Enter it gives that error

Traceback (most recent call last):
  File "<input>", line 1, in <module>
NameError: name 'runfile' is not defined

using python 2.7.6 eclipse 4.4 PyDev 3.7

Upvotes: 0

Views: 652

Answers (2)

Fabio Zadrozny
Fabio Zadrozny

Reputation: 25332

This is really a bug in PyDev 3.7 (and 3.7.1).

The next version should have it fixed. You can apply the change: https://github.com/fabioz/PyDev.Debugger/commit/06fb7661875f27ae72aba6e037bb353a8629633c locally to have it fixed in your local installation (that file is in org.python.pydev/pysrc/pydevconsole.py)

Upvotes: 1

geppi
geppi

Reputation: 1

This problem seems to be related to the latest Pydev version 3.7

I have experienced the same problem on 2 installations after upgrading Pydev from 3.6 to 3.7

Eclipse 4.3.2 Python 2.7.6 and 3.4.0 Pydev upgraded from 3.6 to 3.7

After uninstalling Pydev 3.7 and reinstalling version 3.6 the problem is gone for me.

Upvotes: 0

Related Questions