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

前端 未结 3 1491
执笔经年
执笔经年 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: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).

提交回复
热议问题