How do I use installed packages in PyCharm?

后端 未结 13 1450
暗喜
暗喜 2020-11-22 16:20

In PyCharm, I\'ve added the Python environment /usr/bin/python. However,

from gnuradio import gr

fails as an unde

13条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-22 16:47

    For PyCharm Community Edition 2016.3.2 it is:

    "Project Interpreter" -> Top right settings icon -> "More".

    Then on the right side there should be a packages icon. When hovering over it it should say "Show paths for selected interpreter". Click it.

    Then click the "Add" button or press "alt+insert" to add a new path.

提交回复
热议问题