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

前端 未结 3 1490
执笔经年
执笔经年 2021-01-01 22:50

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

Undefined variable: str

Undefined variable: False

Undefined

相关标签:
3条回答
  • 2021-01-01 23:00

    For those ppl who are using Aptana and have the same Problem:

    I upgraded Aptana and PyDev with the following instructions:

    Update PyDev on Aptana

    after the upgrade PyDev worked just fine for me :)

    0 讨论(0)
  • 2021-01-01 23:06

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

    0 讨论(0)
  • 2021-01-01 23:16

    This means that there's a problem with starting the shell to get completions for builtins (usually a firewall or a misconfiguration in the network -- see: http://pydev.org/faq.html#PyDevFAQ-WhenIdoacodecompletion%2CPyDevhangs%2CwhatcanIdo%3F which may give you hints on how to solve it).

    Also, please add details on your error log if you're unable to solve it (see: http://pydev.org/faq.html#how_do_i_report_a_bug for details on getting the error log).

    0 讨论(0)
提交回复
热议问题