How do I configure a Python interpreter in IntelliJ IDEA with the PyCharm plugin?

前端 未结 5 1758
灰色年华
灰色年华 2020-12-12 19:47

There is a tutorial in the IDEA docs on how to add a Python interpreter in PyCharm, which involves accessing the \"Project Interpreter\" page. Even after installing the Pyth

5条回答
  •  自闭症患者
    2020-12-12 20:49

    I was getting the error (IntelliJ on Ubuntu 18.04) while python SDK was configured.

    To fix that, I had to do this:

    1. File -> Project Structure -> Modules
    2. Click on the Dependencies tab, and click on + and select the python SDK

    3. Click on Apply

    After that, the warning went away and autocompletion also started working properly

提交回复
热议问题