PyCharm import external library

前端 未结 7 1782
广开言路
广开言路 2020-11-27 13:22

I am using PyCharm as an editor for python code in Houdini. Whenever I try to import the main Houdini library (hou) I get an error flagged in PyCharm. If I include the code

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-27 13:59

    In order to reference an external library in a project File -> Settings -> Project -> Project structure -> select the folder and mark as a source

提交回复
热议问题