How do I get IntelliJ to recognize common Python modules?

前端 未结 12 1296
甜味超标
甜味超标 2020-12-04 09:09

I\'m using IntelliJ 10 IDEA Ultimate Edition.

I\'ve created a new file Test.py, and IntelliJ has correctly switched to Python parsing mode. (I can confirm this by t

12条回答
  •  失恋的感觉
    2020-12-04 09:47

    Have you set up a python interpreter facet?

    Open Project Structure CTRL+ALT+SHIFT+S

    Project settings -> Facets -> expand Python click on child -> Python Interpreter

    Then:

    Project settings -> Modules -> Expand module -> Python -> Dependencies -> select Python module SDK

提交回复
热议问题