Why is Pydev giving a syntax error for built-in keywords?

Raffi Khatchadourian picture Raffi Khatchadourian · Nov 11, 2011 · Viewed 13.7k times · Source

Why is Pydev giving me syntax errors for built-in python functions like str()?

Undefined variable: str

Undefined variable: False

Undefined variable: float

Answer

Raffi Khatchadourian picture Raffi Khatchadourian · Nov 12, 2011

Remove and re-add the python interpreter in the PyDev configuration. Make sure that the project is using the newly added interpreter.