Intellij python plugin can't recognize interpret built-in modules (like sys)
已回答
Hi all,
It would be great if someone could help with a step-by-step procedure on how to configure the python plugin to recognize all the built-in modules. After a while trying I've partially accomplished the task by inserting in Project Structure -> Global Libraries -> add (as Classes) -> ( my_path_to Python27\Lib). This made the editor too recognize libraries like re, ElementTree and others. Other libraries like sys are not recognized by the editor and thus it does not give autocomplete support. (actually gives syntax error).
Thank you
请先登录再写评论。
Hi,
How did you configure python SDK(https://www.jetbrains.com/help/idea/2016.3/configuring-python-interpreter-for-a-project.html)? Could you please attach screenshot with it and also screenshot that shows the problem? thank you.
Hi,
After all I made it by creating a python module on the parent directory. Since the directory I'm working in is a "tool" directory and thus having files in multiple languages (perl, python, bash, ecc) I was wandering if I can associate different modules (with different languages) to the same physical directory.
Thank you,