How do I use installed packages in PyCharm?

后端 未结 13 1554
暗喜
暗喜 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:34

    DON'T change the interpreter path.

    Change the project structure instead:

    File -> Settings -> Project -> Project structure -> Add content root

提交回复
热议问题