PyCharm does not recognize modules installed in development mode

后端 未结 8 1506
猫巷女王i
猫巷女王i 2020-12-14 00:37

I have two pure python projects in PyCharm 3.4.1 Professional Edition. The first one, let\'s call it p (like package), is structured as a setuptools package (i.

8条回答
  •  感情败类
    2020-12-14 01:22

    In the project pane, the directory which holds p needs to be marked as source. Available under: Right-click -> "Mark Directory As" -> "Sources Root".

    Note: This setting will also add it to PYTHONPATH during execution from the run menu if the corresponding check box for the option is checked in "Edit Configurations" (default).

提交回复
热议问题